By default, the global session log function is disabled, and the session log function of a single connection is enabled. You can perform the following steps to configure the session log function.
The global session log function is disabled by default. You can enable the global session log function if you need to save the input, device screen output, and the time when the device executes commands to the session log file in the root directory.
The session log function of a single connection is enabled by default. After the global session log function is enabled, information such as the input and screen output of all connections on the device is recorded in the log file. If session logs do not need to be generated for some connections, you can run the terminal session-log disable command to disable the session log function for these connections.
Run display info-center session log status
The status of the global session log function and the status of the session log function of all online connections are displayed.
If the global session log function is enabled, perform the following steps:
Run the display info-center session log status command to view the status of the global session log function and the session log function of all online connections.