Skip to main content
raymondk8700
New Participant
August 14, 2026
Question

DEBUG statements in a custom plugin not writing to log4j2

  • August 14, 2026
  • 1 reply
  • 39 views

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?

1 reply

raymondk8700
New Participant
August 18, 2026

Any help would be appreciated.  Is there a different category that may be better equipped to handle this type of question?