AddLog Stage
110
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
Examples
See Also
flex-init
,
init-clf
,
record-useragent
,
flex-log
,
flex-rotate-init
flex-log
Applicable in
AddLog
-class directives.
This function records request-specific data in a flexible log format. It may also
record requests in the common log format. There is a log analyzer in the
/extras/flexanlg
directory for Enterprise Server.
There are also a number of free statistics generators for the common log format.
The log format is specified by the
flex-init
function call. For information about
rotating logs, see
flex-rotate-init
.
Parameters
bucket
optional, common to all
obj.conf
functions
# Log all accesses to the global log file
AddLog fn=common-log
# Log accesses from outside our subnet (198.93.5.*) to
# nonlocallog
<Client ip="*~198.93.5.*">
AddLog fn=common-log name=nonlocallog
</Client>
name
(optional) gives the name of a log file, which must have been
given as a parameter to the
flex-init
function in
magnus.conf
. If no name is given, the entry is recorded in
the global log file.
iponly
(optional) instructs the server to log the IP address of the
remote client rather than looking up and logging the DNS
name. This will improve performance if DNS is off in the
magnus.conf
file. The value of
iponly
has no significance,
as long as it exists; you may use
iponly=1
.
bucket
optional, common to all
obj.conf
functions
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...