Public bug reported:

When there is a failure to import a module this failure is logged but
also means that everything else will be logged to stdout from that point
on.

To reproduce/test:

Run the python script found here: http://pastebin.ubuntu.com/7693393/

Expected output: Nothing. No logging and no text etc.

Actual Output:
ERROR:root:Could not find any typelib for rubbish
INFO:something-not-root:You shouldn't see this

Note that you can see the logged output for "something-not-root" even
though it's logging level is set to DEBUG.

Ubuntu Version:
Description:    Ubuntu 14.04 LTS
Release:        14.04

Package Version:
python3-gi 3.12.0-1

** Affects: pygobject (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/1333512

Title:
  Failing to import module adds noise to the logging stream

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/1333512/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to