Set the default maximum log size to 1MB.
This commit is contained in:
parent
74440b457a
commit
24fea04c8f
|
@ -263,7 +263,7 @@ autocreate 1
|
|||
# max_log_size: Specify max size of Pandora FMS server log file (1MB by default). If
|
||||
# log file grows above this limit, is renamed to "pandora_server.log.old".
|
||||
|
||||
max_log_size 65536
|
||||
max_log_size 1048576
|
||||
|
||||
# max_queue_files (500 by default)
|
||||
# When server have more than max_queue_files in incoming directory, skips the read
|
||||
|
|
|
@ -276,7 +276,7 @@ autocreate 1
|
|||
# max_log_size: Specify max size of Pandora FMS server log file (1MB by default). If
|
||||
# log file grows above this limit, is renamed to "pandora_server.log.old".
|
||||
|
||||
max_log_size 65536
|
||||
max_log_size 1048576
|
||||
|
||||
# max_queue_files (500 by default)
|
||||
# When server have more than max_queue_files in incoming directory, skips the read
|
||||
|
|
|
@ -224,7 +224,7 @@ autocreate 1
|
|||
# max_log_size: Specify max size of Pandora FMS server log file (1MB by default). If
|
||||
# log file grows above this limit, is renamed to "pandora_server.log.old".
|
||||
|
||||
max_log_size 65536
|
||||
max_log_size 1048576
|
||||
|
||||
# max_queue_files (250 by default)
|
||||
# When server have more than max_queue_files in incoming directory, skips the read
|
||||
|
|
|
@ -284,7 +284,7 @@ sub pandora_load_config {
|
|||
$pa_config->{'autocreate'} = 1;
|
||||
|
||||
# max log size (bytes)
|
||||
$pa_config->{'max_log_size'} = 32000;
|
||||
$pa_config->{'max_log_size'} = 1048576;
|
||||
|
||||
# Ignore the timestamp in the XML and use the file timestamp instead
|
||||
$pa_config->{'use_xml_timestamp'} = 0;
|
||||
|
|
Loading…
Reference in New Issue