Function
This operation sets the eReplication Server log level to INFO or DEBUG.
Format
Linux: modify_log_level
Level
The command is run by the OMUser account.
Usage Guidelines
- Use PuTTY to log in to the application server where the eReplication Server is installed as user DRManager.
- Run su - OMUser, and input the password of the OMUser account to switch to the OMUser account.
- Run the TMOUT=0 command to prevent PuTTY from exiting due to timeout.
- Run the om_manager command to enter the O&M mode.
- 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.