The advanced logging output methods determine how
When you select the File output method,
You configure the following variables:
|
File name |
The log file name. The default location is the main installation directory. You can specify a relative or absolute path using the syntax appropriate for your operating system. |
|
Log Rolling Frequency |
How many hours, days, weeks, or months pass before a new log file is created (optional). |
|
Log Rolling Size |
Maximum size in Megabytes that the log file can become before a new file is created (optional). |
Tip: You can enter angle brackets (<>) and backslash (/) to create XML-formatted output.
Log files can grow indefinitely as they accumulate data. To keep log files manageable, you can limit them to a specific size, or create a new log at a preset interval, such as every six hours or two weeks, depending on the amount of data you expect to log.
Tip: If multiple templates write to the same file log file, define log rolling in just one template.
Generally, you limit log files by frequency or size. You can select both methods, however, to create log files according to the first limit reached. For example, you can create a new log file whenever the preceding file reaches 10 Megabytes in size, or has recorded 3 days of activity, whichever comes first.
When you implement log rolling,
serverstats.txt.20030622134953
The timestamp is in the format YYYYMMDDHHMMSS, using a 24-hour clock. Hence, the file in the preceding example was created on June 22, 2003, at 1:49.53 P.M.
With the HTTP Post method,
You configure the following variables:
|
URL |
URL location (excluding http://) of the CGI program. For example: |
|
Port |
Number of the HTTP port on the server receiving the log. |
Note: If the attempt to contact the CGI program fails,
The Outbound TCP and Inbound TCP output destinations let you send the report to an application listening on a specific TCP port.
The Outbound TCP method publishes the log on a remote computer.
For this method, you configure the following variables:
|
Destination |
Host name, IPv4 address, or IPv6 address of the computer that receives the log. |
|
Port |
Number of an open port on the specified computer. |
The Inbound TCP method publishes the log on the local computer.
You configure the following variable:
|
Port |
Number of an open port on the local computer where the destination application is listening. |
The Outbound UDP and Multicast UDP methods publish the report to a UDP socket on a remote computer using unicast or multicast UDP, respectively.
You configure the following variables:
|
Destination |
Host name, IPv4 address, or IPv6 address of the computer where the report should be published. For Multicast UDP, enter a Class D IPv4 multicast address. |
|
Port |
Number of an open port on the specified computer. |
On UNIX and Linux operating systems, the Pipe and Syslog methods make the log available to another process, or publish the information to the system log, respectively. For Pipe, you configure the following variable:
|
Command |
Pipe command to the application or script where the information can be post-processed. |
For Syslog, you choose one the following priorities, each of which corresponds to an entry type in the system log:
LOG_EMERG
LOG_ALERT
LOG_CRIT
LOG_ERR
LOG_WARNING
LOG_NOTICE
LOG_INFO
LOG_DEBUG
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com
Console