By default,
SLX-OS logs Linux shell commands both locally (in
/var/log/shell_activity.log) and remotely, on the Syslog server.
From
SLX-OS CLI, you can perform the following tasks to control the logging of commands executed at the Linux shell to a remote Syslog server. These tasks do not affect the local logging.
Note
Changes of the
log-shell stop and
log-shell start commands are applicable only on new Linux shell sessions.
-
To disable remote logging, enter
log-shell stop.
Local logging of user activities continues.
-
To restart remote logging, enter
log-shell start.
-
To check the remote logging status, enter
log-shell status.
When remote logging is enabled, the following message is displayed.
Linux shell activity logging : Enabled