Init SAFs
Chapter
7
Syntax and Use of magnus.conf
247
See Also
flex-rotate-init, flex-log
flex-rotate-init
Enterprise ServerApplicable in
Init
-class directives.
The
flex-rotate-init
function configures log rotation for all log files on the
server, including error logs and the
common-log
,
flex-log
, and
record-useragent
AddLog
SAFs. Call this function in the
Init
section of
magnus.conf
before calling
flex-init
. The
flex-rotate-init
function allows
you to specify a time interval for rotating log files. At the specified time interval,
the server moves the log file to a file whose name indicates the time of moving. The
log functions in the
AddLog
stage in
obj.conf
then start logging entries in a new
log file. The server does not need to be shut down while the log files are being
rotated.
By default, log rotation is disabled.
Parameters
Init fn=flex-init buffer-size=16384 num-buffers=2000
access="/usr/netscape/server4/https-servername/logs/access"
format.access="%Ses->client.ip% - %Req->vars.auth-user%
[%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status%
%Req->srvhdrs.content-length%"
NOTE
The server keeps all rotated log files forever, so you will need to
clean them up as necessary to free up disk space.
rotate-start
Indicates the time to start rotation. This value is a 4 digit string
indicating the time in 24 hour format, for example, 0900
indicates 9 am while 1800 indicates 9 pm.
rotate-interval
Indicates the number of minutes to elapse between each log
rotation.
rotate-access
(optional) determines whether
common-log
,
flex-log
, and
record-useragent
logs are rotated. Values are
yes
(the
default) and
no
.
Summary of Contents for ENTERPRISE SERVER 6.0
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 134: ...CGI to NSAPI Conversion 134 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 306: ...cinfo 306 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 312: ...Sample MIME Types File 312 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 324: ...Buffered Streams 324 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 332: ...332 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 340: ...340 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 346: ...346 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 352: ...352 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...