File Based Error Log Publishers publish error messages to the file system.
The File Based Error Log Publisher component inherits from the Error Log Publisher
The following components have a direct AGGREGATION relation FROM File Based Error Log Publishers :
A description of each property follows.
Basic Properties: | Advanced Properties: |
---|---|
↓ append | ↓ asynchronous |
↓ default-severity | ↓ auto-flush |
↓ enabled | ↓ buffer-size |
↓ log-file | ↓ java-class |
↓ log-file-permissions | ↓ queue-size |
↓ override-severity | ↓ time-interval |
↓ retention-policy | |
↓ rotation-policy |
Description | 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 Property | No |
Read-only | No |
Description | Specifies the default severity levels for the logger. |
Default Value | fatal-error
severe-warning
severe-error |
Allowed Values | all - Messages of all severity levels are logged. debug - The error log severity that is used for messages that provide debugging information triggered during processing. fatal-error - The error log severity that is used for messages that provide information about fatal errors which may force the server to shut down or operate in a significantly degraded state. info - The error log severity that is used for messages that provide information about significant events within the server that are not warnings or errors. mild-error - The error log severity that is used for messages that provide information about mild (recoverable) errors encountered during processing. mild-warning - The error log severity that is used for messages that provide information about mild warnings triggered during processing. none - No messages of any severity are logged by default. This value is intended to be used in conjunction with the override-severity property to define an error logger that will publish no error message beside the errors of a given category. notice - The error log severity that is used for the most important informational messages (i.e., information that should almost always be logged but is not associated with a warning or error condition). severe-error - The error log severity that is used for messages that provide information about severe errors encountered during processing. severe-warning - The error log severity that is used for messages that provide information about severe warnings triggered during processing. |
Multi-valued | Yes |
Required | No |
Admin Action Required | None |
Advanced Property | No |
Read-only | No |
Description | 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 Property | No |
Read-only | No |
Description | The file name to use for the log files generated by the File Based Error Log Publisher . The path to the file is relative to the server root. |
Default Value | None |
Allowed Values | A String |
Multi-valued | No |
Required | Yes |
Admin Action Required | The File Based Error Log Publisher must be disabled and re-enabled for changes to this setting to take effect |
Advanced Property | No |
Read-only | No |
Description | The UNIX permissions of the log files created by this File Based Error 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 Property | No |
Read-only | No |
Description | Specifies the override severity levels for the logger based on the category of the messages. Each override severity level should include the category and the severity levels to log for that category, for example, core=mild-error,info,mild-warning. Valid categories are: core, extensions, protocol, config, log, util, schema, plugin, jeb, backend, tools, task, access-control, admin, sync, version, quicksetup, admin-tool, dsconfig, user-defined. Valid severities are: all, fatal-error, info, mild-error, mild-warning, notice, severe-error, severe-warning, debug. |
Default Value | All messages with the default severity levels are logged. |
Allowed Values | A string in the form category=severity1,severity2... |
Multi-valued | Yes |
Required | No |
Admin Action Required | None |
Advanced Property | No |
Read-only | No |
Description | The retention policy to use for the File Based Error Log Publisher . When multiple policies are used, log files will be cleaned when any of the policy's conditions are met. |
Default Value | No retention policy is used and log files will never be cleaned. |
Allowed Values | The DN of any Log Retention Policy. |
Multi-valued | Yes |
Required | No |
Admin Action Required | None |
Advanced Property | No |
Read-only | No |
Description | The rotation policy to use for the File Based Error Log Publisher . 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 DN of any Log Rotation Policy. |
Multi-valued | Yes |
Required | No |
Admin Action Required | None |
Advanced Property | No |
Read-only | No |
Description | Indicates whether the File Based Error Log Publisher will publish records asynchronously. |
Default Value | false |
Allowed Values | true false |
Multi-valued | No |
Required | Yes |
Admin Action Required | None |
Advanced Property | Yes |
Read-only | No |
Description | Specifies whether to flush the writer after every log record. If the asynchronous writes option is used, the writer will be 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 Property | Yes |
Read-only | No |
Description | Specifies the log file buffer size. |
Default Value | 64kb |
Allowed Values | A positive integer representing a size. Lower value is 1. |
Multi-valued | No |
Required | No |
Admin Action Required | None |
Advanced Property | Yes |
Read-only | No |
Description | The fully-qualified name of the Java class that provides the File Based Error Log Publisher implementation. |
Default Value | org.opends.server.loggers.TextErrorLogPublisher |
Allowed Values | A java class that implements or extends the class(es) : org.opends.server.api.ErrorLogPublisher |
Multi-valued | No |
Required | Yes |
Admin Action Required | None |
Advanced Property | Yes |
Read-only | No |
Description | The maximum number of log records that can be stored in the asynchronous queue. |
Default Value | 5000 |
Allowed Values | An integer value. Lower value is 1. |
Multi-valued | No |
Required | No |
Admin Action Required | None |
Advanced Property | Yes |
Read-only | No |
Description | Specifies the interval at which to check whether the log files need to be rotated. |
Default Value | 5s |
Allowed Values | A duration Syntax. Lower limit is 1 milliseconds. |
Multi-valued | No |
Required | No |
Admin Action Required | None |
Advanced Property | Yes |
Read-only | No |