diff --git a/pandora_server/FreeBSD/pandora_server.conf.new b/pandora_server/FreeBSD/pandora_server.conf.new index c43e41fd37..36b46f74d0 100644 --- a/pandora_server/FreeBSD/pandora_server.conf.new +++ b/pandora_server/FreeBSD/pandora_server.conf.new @@ -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 diff --git a/pandora_server/conf/pandora_server.conf.new b/pandora_server/conf/pandora_server.conf.new index 6b0a487daf..4b9b19f188 100644 --- a/pandora_server/conf/pandora_server.conf.new +++ b/pandora_server/conf/pandora_server.conf.new @@ -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 diff --git a/pandora_server/conf/pandora_server.conf.windows b/pandora_server/conf/pandora_server.conf.windows index 61f3706ceb..c3786c0885 100644 --- a/pandora_server/conf/pandora_server.conf.windows +++ b/pandora_server/conf/pandora_server.conf.windows @@ -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 diff --git a/pandora_server/lib/PandoraFMS/Config.pm b/pandora_server/lib/PandoraFMS/Config.pm index ae13744b01..4173446c08 100644 --- a/pandora_server/lib/PandoraFMS/Config.pm +++ b/pandora_server/lib/PandoraFMS/Config.pm @@ -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;