diff pylearn/dataset_ops/__init__.py @ 1496:93b8373c6735

Prefix loggers with 'pylearn.' to ensure there is no conflict when using Pylearn code within another library
author Olivier Delalleau <delallea@iro>
date Mon, 22 Aug 2011 11:28:48 -0400
parents 67b92a42f86b
children
line wrap: on
line diff
--- a/pylearn/dataset_ops/__init__.py	Wed Aug 17 10:18:59 2011 -0400
+++ b/pylearn/dataset_ops/__init__.py	Mon Aug 22 11:28:48 2011 -0400
@@ -1,4 +1,4 @@
 import logging
-logging.getLogger('dataset_ops').setLevel(logging.INFO)
+logging.getLogger('pylearn.dataset_ops').setLevel(logging.INFO)
 
 from protocol import Dataset, TensorDataset, TensorFnDataset  # protocol.py