prelude-correlator/master: Make informational plugin output more consistant

[email protected] Fri, 18 Dec 2009 16:58:31 +0100 (CET)
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
commit 28681237e015ab42475072c015c03d82725980cf
Author: Yoann Vandoorselaere <[email protected]>
Date:   Tue Nov 24 13:31:53 2009 +0100

    Make informational plugin output more consistant


========================================

 PreludeCorrelator/pluginmanager.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

========================================

diff --git a/PreludeCorrelator/pluginmanager.py b/PreludeCorrelator/pluginmanager.py
index 56d1975..4bf3464 100644
--- a/PreludeCorrelator/pluginmanager.py
+++ b/PreludeCorrelator/pluginmanager.py
@@ -75,13 +75,13 @@ class PluginManager:
             pname = plugin_class.__name__
 
             if env.config.getAsBool(pname, "disable", default=False) is True:
-                env.logger.info("%s disabled on user request" % (pname))
+                env.logger.info("[%s]: disabled on user request" % (pname))
                 continue
 
             try:
                 pi = plugin_class(env)
             except Exception, e:
-                env.logger.warning("Exception occurred while loading %s: %s" % (pname, e))
+                env.logger.warning("[%s]: exception occurred while loading: %s" % (pname, e))
                 continue
 
             self.__instances.append(pi)
_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog