Changing the eReplication Server Log Level

Function

This operation sets the eReplication Server log level to INFO or DEBUG.

Format

Linux: modify_log_level

Parameters

None

Level

The command is run by the OMUser account.

Usage Guidelines

  1. Use PuTTY to log in to the application server where the eReplication Server is installed as user DRManager.
  2. Run su - OMUser, and input the password of the OMUser account to switch to the OMUser account.
  3. Run the TMOUT=0 command to prevent PuTTY from exiting due to timeout.
  4. Run the om_manager command to enter the O&M mode.
  5. Run the modify_log_level command to switch the eReplication Server log level.
    • In the command output, enter 1 under Choose log level:(1)DEBUG,(2)INFO,input 1 or 2 and press Enter to set the log level to DEBUG.
    • In the command output, enter 2 under Choose log level:(1)DEBUG,(2)INFO,input 1 or 2 and press Enter to set the log level to INFO.

Example

Example 1:

##modify_log_level
Choose log level:(1)DEBUG,(2)INFO,input 1 or 2
1
'Modify com.huawei.ism' log level of File log4j.xml successfully
'Modify com.huawei.lego' log level of File log4j.xml successfully

Example 2:

##modify_log_level
Choose log level:(1)DEBUG,(2)INFO,input 1 or 2
2
'Modify com.huawei.ism' log level of File log4j.xml successfully
'Modify com.huawei.lego' log level of File log4j.xml successfully

Copyright © Huawei Technologies Co., Ltd.