From 249f0b38f94f1004a2d5fe97a777953b22d5bebe Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Thu, 16 May 2013 08:39:44 +0000 Subject: [PATCH] 2013-05-16 Ramon Novoa * bin/pandora_server: Added information about the loading of the enterprise module to the log. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 5 +++++ pandora_server/bin/pandora_server | 2 ++ 2 files changed, 7 insertions(+) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 33eb762c1a..4d54bfd9eb 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2013-05-16 Ramon Novoa + + * bin/pandora_server: Added information about the loading of the + enterprise module to the log. + 2013-05-14 Ramon Novoa * lib/PandoraFMS/NetworkServer.pm: Added the Pandora FMS's console MIB diff --git a/pandora_server/bin/pandora_server b/pandora_server/bin/pandora_server index eae15619f9..bf8c2d3f5c 100755 --- a/pandora_server/bin/pandora_server +++ b/pandora_server/bin/pandora_server @@ -342,8 +342,10 @@ if ($Config{'daemon'} == 1) { # Load enterprise module if (enterprise_load (\%Config) == 0) { print_message (\%Config, " [*] Pandora FMS Enterprise module not available.", 1); + logger (\%Config, " [*] Pandora FMS Enterprise module not available.", 1); } else { print_message (\%Config, " [*] Pandora FMS Enterprise module loaded.", 1); + logger (\%Config, " [*] Pandora FMS Enterprise module loaded.", 1); if($Config{'policy_manager'} == 1) { # Start thread to patrol policy queue