suever / pydicom-experimental

pydicom test
0 stars 1 forks source link

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

Closed suever closed 9 years ago

suever commented 9 years ago

From bey...@gmail.com on April 05, 2011 04:04:52

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: http://code.google.com/p/pydicom/issues/detail?id=102

suever commented 9 years ago

From darcymason@gmail.com on December 16, 2011 21:41:58

This issue was closed by revision ad71a4271f7f .

Status: Fixed