Hi,
I wants to perform logging on my custom plugin but it isn't logged at all. Not sure if I had missed out any steps. You may refer to the log properties as follows
<APPIAN_HOME/deployment/web.war/WEB-INF/resources/appian_log4j.properties
log4j.logger.tech.custom.smartservices=INFO, CONSOLE, CUSTOM_PLUGIN_LOGGER ###### Custom Plugin appender log4j.appender.CUSTOM_PLUGIN_LOGGER=org.apache.log4j.RollingFileAppender log4j.appender.CUSTOM_PLUGIN_LOGGER.layout=org.apache.log4j.PatternLayout log4j.appender.CUSTOM_PLUGIN_LOGGER.layout.ConversionPattern=%d, %t, %-5p, %m%n log4j.appender.CUSTOM_PLUGIN_LOGGER.File=${AE_LOGS}/custom_plugin.log log4j.appender.CUSTOM_PLUGIN_LOGGER.MaxFileSize=10MB log4j.appender.CUSTOM_PLUGIN_LOGGER.MaxBackupIndex=10 log4j.appender.CUSTOM_PLUGIN_LOGGER.encoding=UTF-8
Fyi, I'm using Appian 19.2 and I have restarted my tomcat after configuring the log4j properties.
Discussion posts and replies are publicly visible