Start a conversation

Reducing Log Information in ACS Server and Hiding Passwords

Overview

If a customer wants to lower the level of debugging on logs of ACS server, they should follow the instructions below.

Affected versions

Version 5.0

Requirements

Basic knowledge of Linux systems and at least one Linux text editor.

Root Cause

By default, the log level is set as "debug", which reflects as much information on the transactions as can be displayed. This also causes passwords to be displayed on the log lines.

Resolution

  1. Open the file log4j2.acs.xml  
    /usr/local/sprt/<SG5_ACS_DIR>/servicegateway/etc/log4j2.acs.xml
  2. Look for the attribute "logger" and change the level from debug to info.
    <logger name="ACSAPI" level="debug" additivity="false">
    
  3. Save and exit the file.
  4. Perform a restart on the ACS server process.

Validation

To confirm that the operation was successful, check the log files for the new lines.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments