FlexDeploy 5.3Tomcat Logging Setup

Tomcat Logging Setup

Follow these steps to implement custom format for FlexDeploy logs in Tomcat. All necessary files should be available in Tomcat_Complete.zip.

  • Copy Tomcat_Complete.zip/apache-tomcat-flexdeploy/bin/FDLogFormatter.jar to <Tomcat Home>/bin folder.
  • For Windows
    • Update <Tomcat Home>/bin/setenv.bat file, add following on first line.

      set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\FDLogFormatter.jar
  • For Linux
    • Update <Tomcat Home/bin/setenv.sh file, add following on first line.

      export CLASSPATH=$CLASSPATH:$CATALINA_HOME/bin/FDLogFormatter.jar
  • Copy Tomcat_Complete.zip/apache-tomcat-flexdeploy/conf/logging.properties file to <Tomcat Home>/conf folder. You should take back up of existing logging.properties file. This is configured to have 10 backups each 10MB, you can adjust it as appropriate.
The following macros are not currently supported in the footer:
  • style