Aerospike Connect Logging Configuration
Logging
This section controls connector log output. Generated log files are rotated daily and by default the last 30 days worth of logs are retained.
Option | Required | Default | Description |
---|---|---|---|
file | no | The output log file path. Rotated logs will be placed in the same folder as this log file. | |
enable-console-logging | no | false | When set to true and a log file is also specified, logging is sent to both console and the log file. enable-console-logging is false by default but if a log file is not specified, it is forced to true. |
max-history | no | 30 | Maximum number of log files to retain. |
levels | no | Map from logger name to its log level. Valid log levels are error, warn, info, debug, trace. | |
ticker-interval | no | 10 | Ticker log interval in seconds. |
Example
logging:
file: /var/log/aerospike-pulsar-outbound/aerospike-pulsar-outbound.log
levels:
root: info # Set default logging level to info.
record-parser: debug # The Aerospike record parser class.
server: debug # The server class logs.
com.aerospike.connect: debug # Set all the classes to default log level.