Skip to main content

How to configure ManagementConsole deployed into Tomcat to log events using date/time (not milliseconds)

Article # 3028932 - Page views: 155


Question / Problem: 

By default the Management Console (MC) application deployed into a standalone Tomcat will log events using milliseconds (i.e. milliseconds since the last Tomcat restart). This could make log analysis complicated but the MC can be configured to log events using date/tme following the steps below:

Answer / Solution: 

  1. In Tomcat, navigate to \webapps\ManagementConsole\WEB-INF\classes
  2. Open log4j configuration file. Depending on the RPA version this file will be named:
    RPA Version FileName
    11.0 and Earlier
    11.1 and Later


  3. Change the conversion pattern. The parameter to change depends on the RPA version as below:
    RPA Version Change
    11.0 and Earlier log4j.appender.A.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
    log4j.appender.A.layout.ConversionPattern=%d %-4r [%t] %-5p %c %x - %m%n
    11.1 and Later appender.A.layout.pattern = %-4r [%t] %-5p %c %equals{%x}{[]}{} - %m%n
    appender.A.layout.pattern = %d %-4r [%t] %-5p %c %equals{%x}{[]}{} - %m%n

  4. Save file
  5. Restart Tomcat

Applies to:  

Product Version



  • Was this article helpful?