Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Chetan496/43ce02e699972a3e6333e8c1b57a6871 to your computer and use it in GitHub Desktop.
Save Chetan496/43ce02e699972a3e6333e8c1b57a6871 to your computer and use it in GitHub Desktop.
Enabling Debugging for an appian plugin class
  1. Open the file appian_log4j.properties. This file is somewhere in the <APPIAN_HOME> directory.
  2. Note down the fully qualified name of the Java class in the plugin for which you want the debugging enabled in Application server log.
  3. Now, edit appian_log4j.properties and at the end of the file append extra lines. These lines should contain the fully qualified class name prefixed by log4j.logger
  4. example: log4j.logger.com.myplugins.package.classname=DEBUG. Here, we are specifying that we want DEBUG enabled in the application server log for the given class name
  5. The log will now show the Debug statements. A JBoss restart maybe needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment