Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual page 243

Nsapi
Table of Contents

Advertisement

The log file stays open until the server is shut down or restarted (at which time all
logs are closed and reopened).
NOTE
If the server has AddLog stage directives that call
flexible log file must be initialized by
initialization.
You may specify multiple log file names in the same
use multiple AddLog directives with the
each log file.
The
function may be called more than once. Each new log file name and
flex-init
format will be added to the list of log files.
If you move, remove, or change the currently active log file without shutting down
or restarting the server, client accesses might not be recorded. To save or backup
the currently active log file, you need to rename the file and then restart the server.
The server first looks for the log file by name, and if it doesn't find it, creates a new
one (the renamed original log file is left for you to use).
For information on rotating log files, see
The
function has three parameters: one that names the log file, one that
flex-init
specifies the format of each record in that file, and one that specifies the logging
mode.
Parameters
logFileName
logFileName
format.
flex-log
flex-rotate-init
The name of the parameter is the name of the log file. The
value of the parameter specifies either the full path to the
log file or a file name relative to the server's logs directory.
For example:
access="/usr/netscape/server4/https-servern
ame/logs/access"
mylogfile = "log1"
You will use the log file name later, as a parameter to the
flex-log function.
specifies the format of each log entry in the log file.
For information about the format, see the "More on Log
Format" section below.
Chapter 7
flex-log
during server
flex-init
function call. Then
flex-init
function to log transactions to
.
Syntax and Use of magnus.conf
Init SAFs
, the
243

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents