Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How to configure Tomcat logs to/from DEBUG mode

    • Product: Aleph
    • Product Version: 22, 23
    • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local

     

    Question

    How can Tomcat be configured to use DEBUG verbosity for log analysis?

    Answer

    Tomcat log files can be found in $aleph_dev/ng/aleph/home/system/thirdparty/tomcat/logs directory:

    • localhost_access_log file contains incoming requests as initiated by web clients
    • server.log contains application server messages

    To enable debug level messages in the server.log file:

    1. Go to the following directory $aleph_dev/ng/aleph/home/system/thirdparty/tomcat/lib/

    2. In the ./log4j.xml file, within section <appender name="FILE" edit this line:

    <param name="Threshold" value="INFO" />

    and change it to:

    <param name="Threshold" value="DEBUG" /> 

    3. Restart Tomcat using util W-3-7-9

     

     


    • Article last edited: 25-Jun-2017