Set the default maximum log size to 1MB.

This commit is contained in:
Ramon Novoa 2014-09-16 16:22:13 +02:00
parent 74440b457a
commit 24fea04c8f
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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;