Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #889 from cpascual/pluginlogs
Browse files Browse the repository at this point in the history
Change log level in taurus.qt.qtgui entry point loading
  • Loading branch information
reszelaz authored Mar 26, 2019
2 parents ff3edaf + 87f5881 commit f0de101
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/taurus/qt/qtgui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
import glob
import pkg_resources
from taurus import tauruscustomsettings as __S
from taurus import debug as __debug
from taurus import info as __info
from taurus import warning as __warning


__docformat__ = 'restructuredtext'
Expand All @@ -63,11 +64,12 @@
setattr(sys.modules[__name__], __p.name, __mod)
# Add it to sys.modules
sys.modules[__modname] = __mod
__debug('Plugin "%s" loaded as "%s"', __p.module_name, __modname)
__info('Plugin "%s" loaded as "%s"', __p.module_name, __modname)
except Exception as e:
__debug('Could not load plugin "%s". Reason: %s', __p.module_name, e)
__warning('Could not load plugin "%s". Reason: %s', __p.module_name, e)

# ------------------------------------------------------------------------

del os, glob, __icon, icon_dir, pkg_resources, sys, __mod, __modname, __debug
del (os, glob, __icon, icon_dir, pkg_resources, sys, __mod, __modname, __info,
__warning)

0 comments on commit f0de101

Please sign in to comment.