The Identity Manager User Application implements logging by using log4j, an open-source logging package distributed by The Apache Software Foundation. See Logging Services for details. By default, event messages are logged to the system console and to the application server’s log file at logging level INFO and above. You can also configure the User Application to log to Novell® Audit and OpenXDAS. Events are logged to all activated loggers.
The default behavior of the JBoss server is to limit the console log4j appender to display log messages with a verbosity of INFO or less. In order to see log messages for more verbose levels (for example, DEBUG), you need to examine the server log file.
IMPORTANT:If you are logging to Novell Audit, review the Novell Audit documentation.
WARNING:You must use Novell Audit (or Sentinel) to preserve documents that you digitally sign. Digital signature documents are not stored with workflow data in the User Application database, but are stored in the logging database. You must enable logging to preserve these documents.
The log4j configuration settings are in
jboss-log4j.xml in the install directory on a JBoss application server
log4j.xml in the User Application WAR on a non-JBoss application server
Console logging involves synchronized writes. This means that logging can become a processor usage issue as well as a concurrency impedance. You can change the priority value default setting to ERROR, on a JBoss server, by modifying the setting in the <installdir>/jboss/server/IDM/conf/jboss-log4j.xml. Locate the root node that looks like this:
<root>
<priority value="INFO"/>
<appender-ref ref="CONSOLE"/> <appender-ref ref="FILE"/> </root>
Change the priority value to:
<root> <priority value="ERROR"/>
<appender-ref ref="CONSOLE"/> <appender-ref ref="FILE"/> </root>
Assigning a value to the root ensures that any appenders that do not explicitly have a level assigned inherit the root's level.
The User Application enables you to change the log level settings of individual loggers.
Log in to the User Application as the User Application Administrator.
Select the
tab.Select the
link.Change the
of any logger.To save the changes for application server restarts, select
.Click
.The User Application logging configuration is saved in the file idmuserapp_logging.xml. On JBoss, the path is <installdir>/jboss/server/IDM/conf/idmuserapp_logging.xml.