How to enable verbose logging in Symantec Protection Engine
search cancel

How to enable verbose logging in Symantec Protection Engine

book

Article ID: 159007

calendar_today

Updated On:

Products

Protection Engine for Cloud Services Protection for SharePoint Servers Protection Engine for NAS

Issue/Introduction

Steps to enable Symantec Protection Engine (SPE) verbose logging.

Environment

One of the following is installed:

  • SPE 8.2 / 9.x

Resolution

  1. Open a terminal or commandline with administrative rights.
  2. Change directory to SPE's program directory (adjust path if not installed at default location)
    • Windows:
      cd "C:\Program Files\Symantec\Scan Engine"
    • Linux:
      cd /opt/SYMCScan/bin
  3. If you plan on reverting the change, take note of the current loglevel:
    • Windows:
      .\xmlmodifier.exe -q //configuration/Logging/LogLocal/@loglevel configuration.xml
    • Linux:
      ./xmlmodifier -q //configuration/Logging/LogLocal/@loglevel configuration.xml
  4. Set log level to Verbose:
    • Windows:
      .\xmlmodifier.exe -s //configuration/Logging/LogLocal/@loglevel 5 configuration.xml
    • Linux:
      ./xmlmodifier -s //configuration/Logging/LogLocal/@loglevel 5 configuration.xml
  5. Restart the symcscan service.
    • Windows:
      net stop symcscan
      net start symcscan
    • Linux:
      /etc/init.d/symcscan stop
      /etc/init.d/symcscan start

Note: To revert, follow these steps, but replace the 5 in step 3 with your value from step 2.

Additional Information

  • NOTE: These logs can be useful for performance troubleshooting as non-verbose logs don't record how long successful scans take.
  • These changes affect the information that is logged to the *.log files in the log directory.
  • If performing these steps to troubleshoot an issue or at the request of Technical Support, reproduce the issue and then collect files with the format SSEYYYYMMDD.* from the log directory located in the SPE installation directory.