DEBUG statements in a custom plugin not writing to log4j2
Using Appian 24.1. I have created a custom plugin.
Let’s call the plug com.appiancorp.plugins.RaysClass.
If I use log.error(“RAYS ERROR”), the entries are written to the tomcat log file.
If I use log.debug(“RAYS DEBUG”) statements, those entries are NOT written.
I have tried adding log4j.logger.com.appiancorp.plugins.RaysClass=DEBUG to the bottom of the appian_log4j.properties file. Still no debug statements.
If I add log4j.logger.com.appian=DEBUG, as soon as I save the file, I get a bunch of debug statements in the log.
I still don’t see “RAYS DEBUG” in the log file.
What must I do to write debug statements from a custom plugin to the tomcat log file?
