Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Turn on debug logging in log4jlogback.properties xml for com.accipia.centerview.util.security, the log file will show the attributes and values that are available.

...

Code Block
#Log information about the SAML login framework
log4j.logger.<logger name="org.springframework.security.saml=DEBUG
log4j.logger.org.opensaml=DEBUG
log4j.logger.PROTOCOL_MESSAGE=DEBUG

...

" level="error" />
<logger name="com.accipia.centerview.util.security" level="debug" />
<logger name="org.springframework.security.saml" level = "debug" />
<logger name="org.opensaml" level="debug" />

to your logback.xml file - see Server Logging for details on controlling logging options with this file, and where to find the results.

Note that with all options applied, the log files generated will be very large. You must switch off these options as soon as you have completed your tests. You can comment out the lines in the log4jlogback.propertiesxml file, if you want to keep them in the file, by placing a # at the beginning of each line.

You could also consider applying a more limited set of debugging options, e.g.

Code Block
log4j.logger.<logger name="org.springframework.security=debug
log4j.logger." level="error" />
<logger name="com.accipia.centerview.util.security" level="debug" />