How Do I Turn Debug Logging Mode On or Off?

Prev Next

You can enable or disable debug logging in the node.properties file on the Archive server.

Note

This article only apply to standalone setups.

To turn on debug logging mode:

  1. Open the node.properties file from the following location:

    C:\Program Files\Lasernet\Lasernet Archive\Server_11.<minor version> - <node name>\wildfly-<version number>.Final\standalone\configuration\node.properties.

  2. Find the Logging section.

    #
    # Logging
    # --------------------------------------------------
    
    # Core Lasernet Keep code
    #logging.level.efstech=DEBUG
    
    # Web Services v2
    #logging.level.websvc21=DEBUG
    
    # Connection pool logging
    #logging.level.efstech.jca=DEBUG
    
    # Set the console output logging level
    #logging.level.console=DEBUG
    
    # Set to DEBUG to keep temp files:
    #logging.level.tempfiles=DEBUG
  3. Remove the # in front of all features for which you need debug logging enabled. For example:

    # Core Lasernet Keep code
    logging.level.efstech=DEBUG

    Warning

    Extended use of debug logging mode will cause log files to grow substantially, particularly when debugging the core Archive code (efstech). Disable debug logging mode when root cause analysis is complete.

  4. Click Save and then restart Archive.

To turn off debug logging mode, repeat the steps already described, but this time re-insert # next to the relevant features.

Was this page helpful? Let us know at knowledgebase.feedback@lasernetgroup.com