server-log-cfg
server-log-cfg = agent [parameter=value],[parameter=value]...
Description
Configures the server for logging. We can use the available parameters to configure the logging agents.
Options
agent Logging agent. The agent controls the logging destination for server events. Valid agents include: If We use the remote agent to send audit events to a remote authorization server, ensure the destination server is configured to process the received events. In particular, the logcfg configuration entry in the aznapi-configuration stanza must be set on the remote authorization server. Use the following format for the category value in this logcfg entry:
- stdout
- stderr
- file
- remote
- rsyslog
remote.webseal.hostname.websealdwhere
hostname The name of the appliance that originated the event. For example, the following entry configures the remote authorization server to accept logging events from the iswga.myco.com server, and send these events to the event.log file:
logcfg = remote.webseal.iswga.myco.com.webseald:file path=/var/ PolicyDirector/log/event.logThe remote authorization server discards any events that originate from a server for which there is no matching logcfg rule.parameter The different agents support the following configuration parameters:
Parameter Supporting agents buffer_size remote compress remote dn remote error_retry remote, rsyslog flush_interval all hi_water all log_id file, rsyslog max_event_len rsyslog max_rollover_files file mode file path all port remote, rsyslog queue_size all rebind_retry remote, rsyslog rollover_size file server remote, rsyslog ssl_keyfile rsyslog ssl_label rsyslog ssl_stashfile rsyslog
For a complete description of the available logging agents and the supported configuration parameters, see the Security Verify Access: Auditing Guide.
Usage:
This stanza entry is required.
Default: None.
Example:
To log server events in a file called msg__webseald.log:
server-log-cfg = file path=msg__webseald.log
To send server events to a remote syslog server:
server-log-cfg = rsyslog server=timelord,port=514,log_id=webseal-instanceParent topic: [logging] stanza