MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Manuale Utente Pagina 52

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 240
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 51
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.
Vedere la pagina 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 239 240

Commenti su questo manuale

Nessun commento