Bay Networks 5390 Administering page 496

Communications server
Hide thumbs Also See for 5390:
Table of Contents

Advertisement

Using Model 5390 Security
You can change several other options in the same way:
/*
* Uncomment this line to select the use of the\
* standard syslog(3) facility in addition to or in\
* place of the logfile -- the value of "USE_SYSLOG"\
* is used to identify the daemon.(Comment the
* second line out to disable the normal acp log file.)
*/
/* #define USE_SYSLOG "annex" */
#define USE_LOGFILE 1
/*
* Uncomment this line to use decoded Annex peer names,\
* rather than numeric IP addresses, in the log file
* and in syslogging.
*/
/* #define USE_ANAME 1 */
Modifying Message Formats in the acp_logfile File
The USE_SECONDS option in the acp_policy.h file enables messages in the acp_logfile to use a
seconds-since-1970 (ten decimal digits) format. This format is most useful for automatic acp_logfile
parsing programs as these programs frequently need to do comparisons and arithmetic on dates.
This option is disabled by default.
You can enable USE_SECONDS by changing (uncommenting) the following line:
/* #define USE_SECONDS 1*/
The standard message format in the acp_logfile is:
< annex_name >:< logid >:#< port >:< yymmdd >: <hhmmss >:< service >:\
<event>:<pkts in>:<pkts out>:<bytes in>:<bytes out>:<msg>
When USE_SECONDS is enabled, the message format in the acp_logfile is:
< annex_name >:< logid >:#< port >:< seconds_since_1970 >:\
<service>:<event>:<pkts in>:<pkts out>:<bytes in>:\
<bytes out>:<msg>
A15-76
to
#define USE_SECONDS 1
893-741-B

Advertisement

Table of Contents
loading

Table of Contents