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

Change log level in taurus.qt.qtgui entry point loading #889

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

cpascual
Copy link
Member

Failiures to load plugins for taurus.qt.qtgui entry-points
are only logged with debug level and therefore they may be missed.
Increase log level for failures to warning and for success to info.

Failiures to load plugins for taurus.qt.qtgui entry-points
are only logged with debug level and therefore they may be missed.
Increase log level for failures to warning and for success to info.
@cpascual cpascual added this to the Jul19 milestone Mar 21, 2019
@cpascual cpascual requested a review from reszelaz March 21, 2019 09:30
Copy link

@reszelaz reszelaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested the new behavior and everything works as expected:

Successfull plugin load:

~/workspace/taurus (pluginlogs)> python -c "import taurus.qt.qtgui"
MainThread     INFO     2019-03-26 18:28:36,798 TaurusRootLogger: Using PyQt4 (v4.11.4 , with Qt 4.8.7)
MainThread     INFO     2019-03-26 18:31:16,431 taurus.qt.qtgui.icon.icon: Setting Tango icon theme (from /home/zreszela/workspace/taurus/lib/taurus/qt/qtgui/icon/)
MainThread     INFO     2019-03-26 18:32:39,242 TaurusRootLogger: Plugin "taurus_pyqtgraph" loaded as "taurus.qt.qtgui.tpg"

Error while loading plugin:

~/workspace/taurus (pluginlogs)> python -c "import taurus.qt.qtgui"
MainThread     INFO     2019-03-26 18:34:54,485 TaurusRootLogger: Using PyQt4 (v4.11.4 , with Qt 4.8.7)
MainThread     INFO     2019-03-26 18:34:54,855 taurus.qt.qtgui.icon.icon: Setting Tango icon theme (from /home/zreszela/workspace/taurus/lib/taurus/qt/qtgui/icon/)
MainThread     WARNING  2019-03-26 18:34:57,853 TaurusRootLogger: Could not load plugin "taurus_pyqtgraph". Reason: ERROR

@reszelaz reszelaz merged commit f0de101 into taurus-org:develop Mar 26, 2019
@cpascual cpascual deleted the pluginlogs branch July 22, 2019 09:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants