SP transaction logging to console

Scott Koranda skoranda at gmail.com
Tue Mar 13 11:56:07 EDT 2018


Hi,

I am using Shibboleth SP 2.6.x.

I want all Shibboleth SP shibd logging to go to the console, including
the transaction logs.

My shibd.logger file is

log4j.rootCategory=INFO, console

log4j.category.XMLTooling.XMLObject=INFO
log4j.category.XMLTooling.KeyInfoResolver=INFO
log4j.category.Shibboleth.IPRange=INFO
log4j.category.Shibboleth.PropertySet=INFO
log4j.category.XMLTooling.libcurl=INFO
log4j.category.XMLTooling.Signature.Debugger=INFO
log4j.category.Shibboleth-TRANSACTION=INFO

log4j.additivity.Shibboleth-TRANSACTION=true

log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{%Y-%m-%d %H:%M:%S} %p %c %x: %m%n

I see the following categories in the console log

OpenSAML.Config
OpenSAML.Metadata.XML
OpenSAML.SecurityPolicyRule.Conditions
Shibboleth.Application
Shibboleth.AttributeExtractor.XML
Shibboleth.AttributeFilter
Shibboleth.Config
Shibboleth.DiscoveryFeed
Shibboleth.Listener
Shibboleth.ProtocolProvider.XML
Shibboleth.SecurityPolicyProvider.XML
Shibboleth.SessionCache
XMLTooling.Config
XMLTooling.SecurityHelper

but I do not see Shibboleth-TRANSACTION, even after setting additivity
to true (just to try something).

How can I make the transaction lines log to the console?

Thanks,

Scott K



More information about the users mailing list