Skip to content

Commit 371c11e

Browse files
committed
Use trace not debug for tracing
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 49af85b commit 371c11e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/extractcode/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
from commoncode.system import on_linux
3838

3939
logger = logging.getLogger(__name__)
40-
DEBUG = False
41-
# import sys
42-
# logging.basicConfig(level=logging.DEBUG, stream=sys.stdout)
43-
# logger.setLevel(logging.DEBUG)
40+
TRACE = False
41+
if TRACE:
42+
logging.basicConfig(level=logging.DEBUG, stream=sys.stdout)
43+
logger.setLevel(logging.DEBUG)
4444

4545
root_dir = join(dirname(__file__), 'bin')
4646

0 commit comments

Comments
 (0)