Category:HowTo:System Log

From Snom User Wiki

Jump to: navigation, search

Contents

Usage

How To obtain a System Log in Firmware Version 6

  1. Local log: Enter the phone's Web User Interface (WUI) and navigate to the following page: Status - Log
  2. Remote log: for this you have to use a syslog server: see How To Use syslog server below

How To obtain a System Log in Firmware Version 7

  1. Local log: Enter the phone's Web User Interface (WUI) and navigate to the following page: Status - Log
  2. Remote log: for this you have to use a syslog server: see How To Use syslog server below

How To obtain a System Log in Firmware Version 8

  1. Local log: Enter the phone's Web User Interface (WUI) and navigate to the following page: Status - Log
  2. Remote log: for this you have to use a syslog server: see How To Use syslog server below

How To Use syslog server

on a Linux computer

  • Install syslogd in case it is not yet installed:
Example command: apt-get install syslogd
  • Enable the facility to receive messages from the network. Open /etc/default/syslogd and add "-r" as a syslogd option:
    SYSLOGD="-r"
  • Now you need to specify the file the deamon is supposed to store the messages. Snom syslog messages have a particular selector (sort of fingerprint) that can be used to distinguish snom syslog messages from all other messages. The selector allows us to specify a rule that stores all snom messages in a particular file. E.g. to store all snom phone messages in /var/log/snomLogs add the following line to /etc/syslog.conf
    local0.info /var/log/snomLogs
local0.info is the selector that identifies snom syslog messages.
  • If you restart the syslog server now you might experience that messages seem to be buffered by the daemon if a bunch of syslog messages are received from the snom phone(s). This is due to a reverse DNS lookup the deamon peforms on each syslog message. To switch off these DNS lookups you need to map the IP of the snom phone to an arbitrary hostname in your /etc/hosts:
    <phone-ip> <hostname>
Example command: /etc/init.d/sysklogd restart
  • Restart the syslog daemon
  • Set Log Level to 9 in your snom phone's Phone Web Interface
  • When you are asked by the snom support team, send them the content of the /var/log/snomLogs file . Please also mention at what time the problem occurred, for which you needed the syslog, so the support staff can know where to look in the log.

on a Windows computer

  • Install a syslog server application on your Windows machine.
  • Set Log Level to 9 in your snom phone's Phone Web Interface
  • When you are asked by the snom support team, send them the syslog.
  • Please also mention at what time the problem occurred, for which you needed the syslog, so the support staff can know where to look in the log.

This category currently contains no pages or media.

Personal tools
Interoperability