File Based Access Log Publisher
File Based Access Log Publishers publish access messages to the file system.
Parent
The File Based Access Log Publisher object inherits from Access Log Publisher.
File Based Access Log Publisher properties
You can use configuration expressions to set property values at startup time. For details, see Property value substitution.
append
Synopsis |
Specifies whether to append to existing log files. |
Default value |
true |
Allowed values |
true false |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
enabled
Synopsis |
Indicates whether the Log Publisher is enabled for use. |
Default value |
None |
Allowed values |
true false |
Multi-valued |
No |
Required |
Yes |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
filtering-policy
Synopsis |
Specifies how filtering criteria should be applied to log records. |
Default value |
no-filtering |
Allowed values |
|
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
log-control-oids
Synopsis |
Specifies whether control OIDs will be included in operation log records. |
Default value |
false |
Allowed values |
true false |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
log-file
Synopsis |
The file name to use for the log files generated by the File Based Access Log Publisher. The path to the file is relative to the server root. |
Default value |
None |
Allowed values |
A path to an existing file that is readable by the server. |
Multi-valued |
No |
Required |
Yes |
Admin action required |
The object must be disabled and re-enabled for changes to take effect. |
Advanced |
No |
Read-only |
No |
log-file-permissions
Synopsis |
The UNIX permissions of the log files created by this File Based Access Log Publisher. |
Default value |
640 |
Allowed values |
A valid UNIX mode string. The mode string must contain three digits between zero and seven. |
Multi-valued |
No |
Required |
Yes |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
log-format
Synopsis |
Specifies how log records should be formatted and written to the access log. |
Default value |
multi-line |
Allowed values |
|
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
log-record-time-format
Synopsis |
Specifies the format string that is used to generate log record timestamps. |
Default value |
dd/MMM/yyyy:HH:mm:ss Z |
Allowed values |
Any valid format string that can be used with the java.text.SimpleDateFormat class. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
retention-policy
Synopsis |
The retention policy to use for the File Based Access Log Publisher . |
Description |
When multiple policies are used, log files are cleaned when any of the policy’s conditions are met. |
Default value |
No retention policy is used and log files are never cleaned. |
Allowed values |
The name of an existing log-retention-policy. |
Multi-valued |
Yes |
Required |
No |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
rotation-policy
Synopsis |
The rotation policy to use for the File Based Access Log Publisher . |
Description |
When multiple policies are used, rotation will occur if any policy’s conditions are met. |
Default value |
No rotation policy is used and log rotation will not occur. |
Allowed values |
The name of an existing log-rotation-policy. |
Multi-valued |
Yes |
Required |
No |
Admin action required |
None |
Advanced |
No |
Read-only |
No |
Advanced properties
Use the --advanced
option to access advanced properties.
asynchronous
Synopsis |
Indicates whether the File Based Access Log Publisher will publish records asynchronously. |
Default value |
true |
Allowed values |
true false |
Multi-valued |
No |
Required |
Yes |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
auto-flush
Synopsis |
Specifies whether to flush the writer after every log record. |
Description |
If the asynchronous writes option is used, the writer is flushed after all the log records in the queue are written. |
Default value |
true |
Allowed values |
true false |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
buffer-size
Synopsis |
Specifies the log file buffer size. |
Default value |
64kb |
Allowed values |
Uses size syntax. Lower limit: 1. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
java-class
Synopsis |
The fully-qualified name of the Java class that provides the File Based Access Log Publisher implementation. |
Default value |
org.opends.server.loggers.TextAccessLogPublisher |
Allowed values |
A Java class that extends or implements:
|
Multi-valued |
No |
Required |
Yes |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
queue-size
Synopsis |
The maximum number of log records that can be stored in the asynchronous queue. |
Default value |
5000 |
Allowed values |
An integer. Lower limit: 1. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
suppress-internal-operations
Synopsis |
Indicates whether internal operations (for example, operations that are initiated by plugins) should be logged along with the operations that are requested by users. |
Default value |
true |
Allowed values |
true false |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
suppress-synchronization-operations
Synopsis |
Indicates whether access messages that are generated by synchronization operations should be suppressed. |
Default value |
false |
Allowed values |
true false |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |
time-interval
Synopsis |
Specifies the interval at which to check whether the log files need to be rotated. |
Default value |
5s |
Allowed values |
Uses duration syntax. Lower limit: 1 milliseconds. |
Multi-valued |
No |
Required |
No |
Admin action required |
None |
Advanced |
Yes |
Read-only |
No |