![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 248](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653248.webp)
Init SAFs
248
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
More on Log Format
The
flex-init
function recognizes anything contained between percent signs (%)
as the name portion of a name-value pair stored in a parameter block in the server.
(The one exception to this rule is the
%SYSDATE%
component which delivers the
current system date.)
%SYSDATE%
is formatted using the time format
%d/%b/%Y:%H:%M:%S
plus the offset from GMT.
(See Chapter 4, “Creating Custom SAFs” for more information about parameter
blocks and Chapter 5, “NSAPI Function Reference,” for functions to manipulate
pblocks.)
Any additional text is treated as literal text, so you can add to the line to make it
more readable. Typical components of the formatting parameter are listed in
Table 7-1. Certain components might contain spaces, so they should be bounded by
escaped quotes (
\
").
If no format parameter is specified for a log file, the common log format is used:
"%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%]
\"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status%
%Req->srvhdrs.content-length%"
file-mode
Specifies the mode for log files. The default is
0644
.
flock
Determines whether a log file is locked during a log flush.
Boolean. The default is
yes
.
format.
logFileName
Specifies the format of each log entry in the log file.
For information about the format, see the “More on Log
Format” section below.
max-threads
Specifies the maximum number of flush threads to be
started for “busy” files. Once the maximum is reached, the
flush is handled by maintenance threads. The default is
10
.
milliseconds-dirty
Specifies the maximum number of milliseconds a log buffer
is allowed to go unflushed. The default is
2000
.
num-buffers
Specifies the maximum number of logging buffers to use.
The default is
1000
. See the third
flex-init
example
below.
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...