Introduction to Log Management

Log management means the management of system operation logs, system debug logs, host Agent logs, and GaussDB database logs.

System Operation Logs

All user operations performed on eReplication are logged. Operations that do not affect eReplication such as viewing and searching are not logged. eReplication provides the function of browsing operation logs and filtering logs by log level, administrator, log category, operation results, as well as log start time and end time. Logs also help you understand user operations. For example, you can view the operations that are performed by a user on the NMS.

eReplication has restrictions on log permission of different users as follows:

Periodically dumping system operation logs deletes database records, ensuring sufficient available space of the database. Dumped operation log files are saved in the eReplication Sever installation directory//Runtime/LegoRuntime/datastorage/sysoptlog path. A user can download the dumped system operation files on the client and delete unnecessary log files under the directory.

Operation log levels indicate the severity of the log. eReplication classifies system operation logs into three levels: Warning, Minor, and Info from the most critical to the least critical. Table 1 defines different levels of system operation logs.

Table 1 Log levels

Level

Definition

Warning

Operations that may cause data inconsistency of the entire system or a function module, for example, Delete Recovery Plan.

Minor

Normal operations on a system or function module, for example, Deliver refreshing resource command.

Info

Operations, which impact no service running, on a system or function module, for example, Deliver a protected group creation command.

System Debug Logs

Debug logs record the software running status that cannot be detected by the system, such as the object status change and record of an abnormal message. Debug logs help system maintenance personnel locate faults and analyze the system running efficiency.

System debug log levels indicate the severity and importance of logs. eReplication classifies system debug logs into four levels: Error, Warning, Info, and Debug from the most critical to the least critical. Table 2 defines different levels of system debug logs.

Table 2 Levels of system debug logs

Level

Definition

Error

Errors occurred during system running, such as file damage, which may lead to abnormalities of some functions and recovers only after manual intervention.

Warning

Information about foreseeable and processable local abnormalities, such as processing timeout.

Info

Software running tracks. Such logs records the information about function invocation.

Debug

Debugging information that is provided to the R&D personnel.


Copyright © Huawei Technologies Co., Ltd.