ivoflipse / pydicom

Automatically exported from code.google.com/p/pydicom
0 stars 1 forks source link

Default Logger level should be WARNING to reflect default debugging status #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
import dicom

What is the expected output? What do you see instead?
Expecting: no output at all
Seeing: "Reversing DICOM dictionary so can look up tag from a name..."

What version of the product are you using?
0.9.5

Please provide any additional information below.
When importing pydicom 0.9.5, I get the following logging message printed to 
stdout:

    Reversing DICOM dictionary so can look up tag from a name...

In addition, I get some debug output when using pydicom unless I explicitely 
use dicom.debug(False).  However, the message above is always printed since I 
cannot change the dicom.debugging without importing dicom.

It seems to me that the default level for pydicom's logger should be set to 
WARNING within pydicom/__init__.py to reflect the default setting of 
pydicom.debugging (False).

Original issue reported on code.google.com by bey...@gmail.com on 5 Apr 2011 at 8:04

GoogleCodeExporter commented 9 years ago
This issue was closed by revision ad71a4271f7f.

Original comment by darcymason@gmail.com on 17 Dec 2011 at 5:41