SLF4J for Function Plug-ins

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.PatternLayout
log4j.appender.ROOT_FILE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%n
log4j.appender.ROOT_FILE=org.apache.log4j.RollingFileAppender
log4j.appender.ROOT_FILE.File=${AE_LOGS}/bofa-app-logs.log
log4j.appender.ROOT_FILE.MaxFileSize=10MB
log4j.appender.ROOT_FILE.MaxBackupIndex='''1000'''

#Application level log
log4j.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