Viewing SMC server logs

The SMC server provides two types of logs:

  • server.log: lists all actions saved on the SMC server. This file may be read from the server's web interface and from the command line interface using the nlogs command.
  • audit.log: lists all actions performed by an administrator on the server. This file may be read from the server's web interface and from the command line interface using the alogs command.

To view server logs from the web interface:

  1. Show the Maintenance > Server logs menu or show and hide the logs at any time by clicking on the black arrow at the bottom of the interface Arrow to show logs panel.
  2. Move the cursor to select the minimum number of logs to display, from the least to the most critical: information, warning or error.

    A maximum of 1000 lines can be displayed. When the limit is reached, the oldest logs are replaced with the most recent ones in the interface.

  1. To view the contents of the entire log file, log on to the SMC server via the console port or in SSH with the "root" user account and enter the command nlogs.

To view audit logs from the web interface:

  1. Show the Maintenance > Audit logs menu or show and hide the logs at any time by clicking on the black arrow at the bottom of the interface Arrow to show logs panel.
  2. You can show the Details column, which is hidden by default.

To find out how to send logs to a remote Syslog server, refer to the section Sending SMC logs to a remote server in Syslog format.