Chapter 8, Understanding Log Files
189
Setting Log Preferences
Log rotation is initialized at server startup. If rotation is turned on, Enterprise
Server creates a time-stamped access log file and rotation starts at server
startup.
Once the rotation starts, Enterprise Server creates a new time stamped log file
when there is a request that needs to be logged to the access log file and it
occurs after the prior-scheduled “next rotate time”.
Note
You should archive the server logs before running the log analyzer.
To archive log files and to specify whether to use the Internal daemon method
or the cron based method, use the Archive Log Files page in the Server
Manager.
Setting Log Preferences
During installation, an access log file named
access
was created for the
server. You can customize access logging for any resource by specifying
whether to log accesses, what format to use for logging, and whether the server
should spend time looking up the domain names of clients when they access a
resource.
Server access logs can be in Common Logfile Format, flexible log format, or
your own customizable format. The Common Logfile Format is a commonly
supported format that provides a fixed amount of information about the server.
The flexible log format allows you to choose (from Enterprise Server) what to
log. A customizable format uses parameter blocks that you specify to control
what gets logged. For a list of customizable format parameters, see the
NSAPI
Programmer’s Guide for Enterprise Server 4.0.
Once an access log for a resource has been created, you cannot change its
format unless you archive it or create a new access log file for the resource.
You can specify logging preferences using The Log Preferences Page in the
Server Manager, or you can manually configure the following directives in the
obj.conf
file. In
obj.conf
, the server calls the function
flex-init
to
initializes the flexible logging system and the function
flex-log
to record
request-specific data in a flexible log format. To log requests using the common
log file format, the server calls
init-clf
to initialize the Common Log
subsystem which is used if
obj.conf
, and
common-log
to record request-
specific data in the common log format (used by most HTTP servers).
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...