From innovaphone-wiki

Jump to: navigation, search
There are other versions of this article: Reference (this version) | Reference7 | Reference9 | Reference10 | Reference12r1 | Reference13r1

External logging is disabled as standard (Off). After selection of a log type, logging is enabled, as are the relevant entry fields.

Off: Logging is disabled.
TCP: The device transmits the syslog entries using a TCP connection.
  • In the Address field, the destination IP-address is entered.
  • In the Port field, the port to which the connection is set up is specified.
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.
  • In the Address field, the IP address of the syslogd server is entered.
  • In the Class field, the desired message class that will be responsible for further processing of the syslog entries is entered. The syslog class is a numeric value between 0 and 7.
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).
  • In the Address field, the IP-Adresse of the Web server that carries out further processing of the transmitted data is entered.
  • In the Path field, the relative URL of the form program on the Web server is entered.

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. \\\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.

Personal tools