5.1 Tomcat Valve Logging

You can monitor the web service’s load on the ZENworks Primary Server using valve logs. Response time of the various web service requests coming to the ZENworks Primary Server can also be logged.

IMPORTANT:Valve debug logging is a heavy I/O operation. Performance of the ZENworks Primary Server is affected when valve logging is enabled. Disable or do not enable the Valve logging when you are not debugging.

To enable the valve debug logs:

  1. Stop the ZENworks services on the Primary Servers.

  2. Add debug="true" to the following line within the Engine properties of the server.xml file.

    <Valve className="com.novell.zenworks.tomcat.ZENRequestValve" debug="true"/>

    Path for the server.xml file:

    Linux: /opt/novell/zenworks/share/tomcat/conf/

    Windows: %ZENWORKS_HOME%\share\tomcat\conf\

  3. Start the ZENworks services.

    Valve logs can be found at the following location:

    Linux: /opt/novell/zenworks/share/tomcat/logs/

    Windows: %ZENWORKS_HOME%\share\tomcat\logs\

To disable the valve logging, simply comment or remove the lines added in the server.xml file and restart the ZENworks services.