Configuring logging
Flash Media Server logging is configured through the Server.xml and Logger.xml
configuration files. Server.xml contains a
behavior. This section includes an
and a
tag that determines whether Flash Media Server writes separate log files for each
Scope
virtual host or one file for the entire server.
The following is an excerpt of the Logging section of the Server.xml file:
<Root>
<Server>
<Logging>
<!-- Overall logging configuration. This section contains only -->
<!-- information that controls the overall logging behavior. -->
<!-- Specific logging configuration is located in Logger.xml. -->
<!-- The time field was added after the Flash Comm Server 1.5.2 -->
<!-- release. The server can log file in utc (gmt) or local time. -->
<!-- The default time is local time. -->
<Time>local</Time>
<Access>
<!-- Whether access logging is enabled. -->
<Enable>true</Enable>
<!-- The logging scope determines whether a log file is written -->
<!-- out for each vhost or just one for the entire server. -->
<!-- It may be either server or vhost. -->
<Scope>server</Scope>
</Access>
<Diagnostic>
<!-- Whether diagnostic logging is enabled. -->
<Enable>true</Enable>
</Diagnostic>
<Application>
<!-- Whether application logging is enabled. -->
<Enable>false</Enable>
</Application>
</Logging>
</Server>
<Root>
Logger.xml files may be provided at the configuration root folder right next to Server.xml and
optionally for each vhost right next to VHost.xml file. The root Logger.xml file determines
the logger configuration when the logging scope is server-wide. Optionally a specific vhost
Logger.xml controls the logging behavior for a given vhost. The virtual host-specific
Logger.xml configuration file is relevant only when the activities for each virtual host are
being logged in a separate log file. The location of each log file is determined by the
and
Directory
FileName
A sample of the Logger.xml file is included later in this document.
52
Managing the Server
Logging
tag that determines whether logging takes place,
Enable
tags in the Logger.xml file(s).
section that controls the overall logging
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-MANAGING FLASH MEDIA SERVER and is the answer not in the manual?
Questions and answers