Open the OpenSSO Enterprise Console.
Click the Configuration tab.
Go to Sites and Servers > serverName > General, where serverName is the name of the OpenSSO Enterprise server instance you want to debug.
Edit the Debug Directory attribute.
Specify one of the following debug levels:
No debugging information is written to the debug files.
Use this level in production environments. During production, there should be no errors in the debug files.
Allows Error and Warning debug messages to be written.
Do not use the Warning level in a production environment. This setting can cause severe performance degradation due to excessive debug messages.
Allows detailed code tracing.
Do not use the Message level in a production environment. This level can cause severe performance degradation due to excessive debug messages.
Debugging information is written to files in the ConfigurationDirectory/uri/debug directory. By default, debugging information for an OpenSSO enterprise service or major component is written into a file named for the service or component: