Appian version 7.11 + JBoss + MySQL. For a custom plugin file, I am

Certified Senior Developer
Appian version 7.11 + JBoss + MySQL.

For a custom plugin file, I am trying to write logs to a custom log file.

In appian_log4j.properties (available under <Appian_Home>\\ear\\suite.ear\\resources) file, I have added following entries:

####### Custom Plugin Loggers

log4j.logger.com.pblue=DEBUG, CUSTOM_LOG

###### CUSTOM_LOG file appender
log4j.appender.CUSTOM_LOG=org.apache.log4j.RollingFileAppender
log4j.appender.CUSTOM_LOG.layout=org.apache.log4j.PatternLayout
log4j.appender.CUSTOM_LOG.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
log4j.appender.CUSTOM_LOG.File=${AE_LOGS}/customLog.log
log4j.appender.CUSTOM_LOG.MaxFileSize=10MB
log4j.appender.CUSTOM_LOG.MaxBackupIndex=1000
log4j.appender.CUSTOM_LOG.encoding=UTF-8

I don't see my logs messages in the customLog.log file, though I see below warning message on JBoss console ::
==============
12:37:31,263 INFO [stdout] (http-/0.0.0.0:8080-1) -----------
12:37:31,266 ERROR [st...

appian_log4j.properties

OriginalPostID-188341

OriginalPostID-188341

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data