Download Identity Certification
Transcript
Role Manager Logging
Review System Logs
The application logs are generated and stored under the C:/Vaau/RBACx2006/tomcat55/logs/ folder
and the file name is called rbacx.log. The log captures various details such as the import /export
information, ETL processing and also any exceptions which arise while running the application. There are
different levels in the rbacx.log and these can be adjusted and modified as needed. The properties file which
is used to alter the logging level is found under $RBACX_HOME/WEB-INF folder and the file name is
log4j.properties
The contents of this file with the ideal logging levels are specified below.
log4j.rootLogger=INFO, file
# Console Appender
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%n
# File Appender
log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
log4j.appender.file.file=C:/Vaau/RBACx2006/tomcat55/logs/rbacx.log
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%n
log4j.appender.file.ImmediateFlush=true
log4j.appender.file.DatePattern='.'yyyy-MM-dd
# Tomcat logging
log4j.logger.org.apache.catalina=WARN
# DON'T EDIT FOLLOWING
log4j.logger.com.vaau.commons.springframework.context.ContextLifecycleListener
=INFO
#VAAU commons logging
log4j.logger.com.vaau.commons=WARN
#RBACx Core logging
log4j.logger.com.vaau.rbacx=WARN
log4j.logger.com.vaau.rbacx.core=WARN
log4j.logger.com.vaau.rbacx.service=WARN
log4j.logger.com.vaau.rbacx.manager=DEBUG
# RBACx Security logging
log4j.logger.com.vaau.rbacx.security=WARN
Chapter 6 · Role Manager Logging
69