changed log severity from critical to info if a plugin cannot be loaded stable
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Thu, 10 Dec 2009 09:43:51 +0100
branchstable
changeset 4095 72fd2d4cc782
parent 4065 6e8da644d996
child 4096 871ff503c23e
changed log severity from critical to info if a plugin cannot be loaded
cwconfig.py
--- a/cwconfig.py	Wed Dec 09 19:29:21 2009 +0100
+++ b/cwconfig.py	Thu Dec 10 09:43:51 2009 +0100
@@ -476,7 +476,7 @@
                 try:
                     load_module_from_file(join(CW_SOFTWARE_ROOT, ctlfile))
                 except ImportError, err:
-                    cls.critical('could not import the command provider %s (cause : %s)' %
+                    cls.info('could not import the command provider %s (cause : %s)' %
                                 (ctlfile, err))
                 cls.info('loaded cubicweb-ctl plugin %s', ctlfile)
         for cube in cls.available_cubes():