Viewing Logs - Siemens RUGGEDCOM ROX II User Manual

Cli
Hide thumbs Also See for RUGGEDCOM ROX II:
Table of Contents

Advertisement

Chapter 3
Device Management
Diagnostic Logs
The following sections describe how to view, configure and manage logs:
Section 3.9.1, "Viewing Logs"
Section 3.9.2, "Deleting Logs"
Section 3.9.3, "Configuring a Source IP Address for Remote Syslog Messages"
Section 3.9.4, "Managing Diagnostic Logs"
Section 3.9.5, "Configuring Secure Remote Syslog"
Section 3.9.6, "Managing Remote Syslog Servers"
Section 3.9.7, "Managing Remote Server Selectors"
Section 3.9.1

Viewing Logs

Select logs can be viewed directly within the CLI. Otherwise, these and other logs can be downloaded from the
device and viewed in a text editor/viewer.
NOTE
For information about downloading log files from the device, refer to
To view a log in the CLI, do the following:
show log file
Where:
• file is the log file to view
For example, to view the auth.log, type:
show log auth.log
A result similar to the following is displayed:
ruggedcom# show log auth.log
Jan 29 09:25:00 ruggedcom confd[2068]: audit user: admin/0 failed to login using externalauth:
authentication
Jan 29 09:25:00 ruggedcom confd[2068]: audit user: admin/0 logged in through Web UI from 192.168.0.200
Jan 29 09:25:00 ruggedcom confd[2068]: audit user: admin/32 assigned to groups: admin
Jan 29 09:25:01 ruggedcom CRON[4599]: pam_unix(cron:session): session opened for user root by (uid=0)
60
All log files are organized in the log directory (/var/log) according to the facility and priority at which they
have been logged. Remote Syslog sends the requested logs to the remote server(s) at whichever facility and
priority they were initially logged, after filtering the logs based on the selectors configured for the server.
The following log files are setup with the following default selectors:
• syslog catches all logs except daemon.debug, auth or authpriv logs
• daemon.log catches all err level (and above) logs written to the daemon facility
• messages catches all info, notice and warn level logs for all facilities except auth, authpriv, cron, daemon,
mail and news
A selector setup using the following facilities at level info and up is recommended:
• daemon
• user
• kern
• syslog
Diagnostic logs record system information for the purposes of troubleshooting.
RUGGEDCOM ROX II
CLI User Guide
Section 3.8.2, "Backing Up
Viewing Logs
Files".
Local

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx1500Rx1512Rx1501Rx1510Rx1511

Table of Contents