Reference7:Configuration/General/Logging
Logging
External logging is disabled by default (Off). You can still view log messages in real time (see Reference7:Administration/Diagnostics/Logging), but messages are not stored or sent to an external destination.
Available Types:
Off: | Logging is disabled. |
TCP: | The device transmits the syslog entries using a TCP connection.
|
SYSLOG: | The syslog entries are transmitted to a syslog recipient (also referred to as syslogd, syslog server or syslog daemon ), which is then responsible for their further evaluation or storage.
|
HTTP: | The syslog entries are transferred to a Web server, where they can be further processed. Each individual syslog entry is transferred as form data to the Web server in HTTP GET format (a.k.a query args).
The device will make a HTTP GET request to the Web server on the entered URL, followed by the URL-encoded syslog entry. If, for example, a page named /cdr/cdrwrite.asp with a form that expects the log message in parameter msg exists on a Web server, then the value /cdr/cdrwrite.asp is entered. The device will then make a GET /cdr/cdrwrite.asp?event=syslog&msg=logmsg request to the Web server. If the addressed Web server requires authentication an Autenticated URL has to be configured on the HTTP-Client Page. The URL constructed by the logger has no leading protocol part but starts directly with the IP address. It must be entered in exactly this format on the HTTP-Client Page. HTTP logging hat to be restarted after the Autenticated URL has been set. The constructed URL is displayed right of the Path input field after pressing OK. |
LOCAL: | The syslog entries are saved to the local CF card into the /log directory, e.g. \\172.16.0.10\drive\CF0\log. Log files named LOG0.n are created, where n goes from 0 to 3. The next log file is created when either the Max File Size is reached or the Backup Time has passed. LOG0.0 is the newest log file always.
To concentrate all syslog messages to a single CF card, you would use the HTTP Log Server Type in all but one boxes. The Path must be set to LOG0/post-msg (attention: no leading slash), the Address must be set to the IP address of the single box that has the CF card used for log message storage, the Port must be set to the port configured for the HTTP-Server of this box. |
Alarm and Event Handling
Alarm and Event Forwarding is configured independantly from the handling of log messages.