Fileset Advanced Parameters
The following parameters are advanced ones, and they should not be modified in the great majority of cases:
Option |
Required |
Default |
Values |
Example |
Description |
---|---|---|---|---|---|
stream_sleep |
No |
1 |
Positive integer (1/10 secconds) |
5 |
Time to sleep when reading header packets from FD and not having a full header available |
stream_max_wait |
No |
120 |
Positive integer (seconds) |
360 |
Max wait time for FD to answer packet requests |
time_max_last_modify_log |
No |
86400 |
Positive integer (seconds) |
43200 |
Maximum time to wait to overwrite a debug log that was marked as being used by other process |
logging_max_file_size |
No |
50MB |
String size |
300MB |
Maximum size of a single debug log fileGenerates the working/amazon-rds/amazon-rds-debug.log* files containing debut information which is more complete with a greater debug number |
logging_max_backup_index |
No |
25 |
Positive integer (number of files) |
50 |
Maximum number of log files to keep |
log_rolling_file_pattern |
No |
amazon-rds.log.%d{dd-MMM}.log.gz” |
String file name pattern |
… |
Log pattern for rotated log files |
split_config_file |
No |
= |
Character |
: |
Character to be used in config_file parameter as separator for keys and values |
publisher_queue_timeout_secs |
No |
1200 |
Positive integer (seconds) |
3600 |
Timeout when internal object publisher queue is full |
The internal plugin logging framework presents some relevant features that we are going to describe:
The
.log
files are rotated automatically. Currently, each file can be 50Mb at maximum and the plugin will keep 25 files.This behavior can be changed using the internal advanced parameters:
logging_max_file_size
andlogging_max_backup_index
.
The
.err
file can show contents even if no actual error has occurred during the jobs. It can also present contents even if debugging is disabled. This file is not rotated, but it is generally anticipated to remain small in size. If you still need to rotate it, you can include it in a general rotating tool such aslogrotate
.Backups in parallel and also failed backups will generate several log files. For example: amazon-rds-debug-0.log, amazon-rds-debug-1.log, and so on.
See also
Previous articles:
Next articles:
Go back to: Fileset Configuration.