![MACROMEDIA FLASH MEDIA SERVER 2-MANAGING FLASH MEDIA... Скачать руководство пользователя страница 52](http://html1.mh-extra.com/html/macromedia/flash-media-server-2-managing-flash-media/flash-media-server-2-managing-flash-media_manual_3372650052.webp)
52
Managing the Server
Configuring logging
Flash Media Server logging is configured through the Server.xml and Logger.xml
configuration files. Server.xml contains a
Logging
section that controls the overall logging
behavior. This section includes an
Enable
tag that determines whether logging takes place,
and a
Scope
tag that determines whether Flash Media Server writes separate log files for each
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
Directory
and
FileName
tags in the Logger.xml file(s).
A sample of the Logger.xml file is included later in this document.
Содержание FLASH MEDIA SERVER 2-MANAGING FLASH MEDIA...
Страница 1: ...Managing Flash Media Server...
Страница 6: ...6 Contents...
Страница 10: ...10 About This Manual...
Страница 84: ...84 Deploying Flash Media Server...