Hi.
I have been using slf4j for logging inside my function plugins and other Java dependencies. Now I am trying to configure a specif log file for those applications. I have created in appican_log4j.propertities,
log4j.appender.ROOT_FILE.layout=org.apache.log4j.PatternLayoutlog4j.appender.ROOT_FILE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%nlog4j.appender.ROOT_FILE=org.apache.log4j.RollingFileAppenderlog4j.appender.ROOT_FILE.File=${AE_LOGS}/bofa-app-logs.loglog4j.appender.ROOT_FILE.MaxFileSize=10MBlog4j.appender.ROOT_FILE.MaxBackupIndex='''1000'''
#Application level loglog4j.logger.com.bofa=INFO, ROOT_FILE
and my intention is to log everything that is coming from any class in the com.bofa hierarchy. However, it is not working. The file bofa-app-logs.log is created but never populated. The SLF4J messages are logged only in the Tomcat's log.
Any leads about this?
Discussion posts and replies are publicly visible