Flash Media Server |
|||
| Managing Flash Media Server > Configuration Files > XML configuration files > Logger.xml file | |||
The Logger.xml file is located at the root level of the conf directory and is the configuration file for the logging file system. Logger.xml contains the tags and information used to configure the Flash Media Server log files. You can edit this file to add or change configuration information, including the location of the log files. The default location of the log files is in the logs directory in the server installation directory.
Log files are written in English. Field names displayed in the log file are in English. Some content within the log file, however, may be in another language, depending on the filename and the operating system. For example, in the Access.log file, the columns x-sname and x-suri-stem show the name of the stream. If the name of the recorded stream is in a language other than English, the stream's name will be written in that language, even if the server is running on an English-language operating system.
The Logging section in the Server.xml enables or disables the log files. Tags to configure the log files are in the Logger.xml file.
The Logger.xml file contains the following tag structure.
<Logger>
<Access>
<LogServer enable="false" type="udp"></LogServer>
<HostPort></HostPort>
<ServerID></ServerID>
<DisplayFieldsHeader>100</DisplayFieldsHeader>
<Directory>${LOGGER.LOGDIR}</Directory>
<FileName>access.[NN].log</FileName>
<Time>local</Time>
<Rotation>
<MaxSize>10240</MaxSize>
<Schedule type="daily">00:00</Schedule>
<History>5</History>
</Rotation>
<Events>connect;disconnect;play;pause;unpause;stop</Events>
<Fields>x-category;x-event;date;time;x-pid;c-ip;cs-bytes;sc-bytes;
x- sname;sc-stream-bytes;x-file-size;x-file-length</Fields>
<Delimiter></Delimiter>
<QuoteFields>disable</QuoteFields>
<EscapeFields>enable</EscapeFields>
</Access>
<Diagnostic>
<Directory>${LOGGER.LOGDIR}</Directory>
<Rotation>
<MaxSize>10240</MaxSize>
<Schedule type="daily">00:00</Schedule>
<History>5</History>
</Rotation>
</Diagnostic>
<Application>
<Directory>${LOGGER.LOGDIR}</Directory>
<Rotation>
<MaxSize>10240</MaxSize>
<Schedule type="daily">00:00</Schedule>
<History></History>
</Rotation>
</Application>
</Logger>
|
NOTE |
|
Log file rotation cannot be disabled. To effectively turn off rotation, choose a large maximum size and a long maximum duration for the log files. |
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/fms/2/docs/00000328.html