last update 31-August-2007 11:53AM
CAS GH debugging
CAS GH uses log4j features to log.
The properties of the log4j logger are defined in the webpages/WEB-INF/LoggerConf.xml of the esup-casgeneric package.
For the three (esup-casgeneric, esup-cas-server and esup-cas-quick-start) packages, this file relies on the following properties, defined in the properties/build.properties file:
This property defines the location of the CAS Generic Handler log file. If you use a relative path, it will be relative to your servet container's root directory.
The default value for this property is:
This property defines the (log4j) log level to use when logging with CAS GH. Allowed values are ERROR, WARN, INFO and DEBUG.
The most usual value for this property is INFO, as CAS GH will then echo informations, warnings and errors. It is the recommended value, and thus set by default.
To debug your authentication process, you have to set this property to true (to allow debugging output) and configure your authentication handlers to print debugging informations (see below).
At first, allow debugging output (see above).
Then you have to precise the part of your authentication process your want to debug. Debugging can be set at three different levels:
Note: if one (or more) servers of a redundant handler is debugged, then the handler will also be debugged (other servers may or may not be debugged). The same way, if one (or more) handlers is debugged, then the authentication process itself is debugged (other handlers may or may not be debugged).
Copyright © 2002-2004 - ESUP-Portail consortium