vApp Log properties
search cancel

vApp Log properties

book

Article ID: 239187

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

Understanding vApp log properties / logging properties

Environment

Virtual Appliance 14.5

Resolution

IM,IG and IP log properties are located in:

/opt/CA/VirtualAppliance/custom/IdentityManager/logging.properties
/opt/CA/VirtualAppliance/custom/IdentityPortal/logging.properties
/opt/CA/VirtualAppliance/custom/IdentityGovernance/logging.properties

example formatting from IM file:

formatter.PATTERN.pattern=%d{yyyy-MM-dd HH\:mm\:ss,SSS} %-5p [%c] (%t) %s%e%n

 

%d{yyyy-MM-dd HH\:mm\:ss,SSS}  -  The timestamp the log message.

%-5p  -  priority of the logging event WARN, INFO etc
 
[%c]  -  The category of the logging event. In [] brackets.

(%t)  -  The name of the callers thread. in () brackets.

%s  -   The simple formatted message

%e  -   The exception stack trace.

%n  -   A platform independent line separator.

 

 

You can review the logging jsp pages as described in the documentation Modify Identity Manager Application Log Level to identify loggers.   
For example to configure the logging properties file for Identity Manager to DEBUG tews calls, the logger in the logging_v2.jsp page shows:  ims.tews6



To set this to DEBUG in the logging.properties file add:

logger.ims.tews6.level=DEBUG
logger.ims.tews6.useParentHandlers=true

 

Once saved, this logging configuration will be used as the 'default' logging configuration.   

 

 

Additional Information

explained for Wildfly App server:

https://github.com/wildfly/wildfly/blob/main/docs/src/main/asciidoc/_admin-guide/subsystem-configuration/Logging_Formatters.adoc#pattern-formatterl