diff src/bridge/bridge.py @ 993:301b342c697a

core: use of the new core.log module: /!\ this is a massive refactoring and was largely automated, it probably did bring some bugs /!\
author Goffi <goffi@goffi.org>
date Sat, 19 Apr 2014 19:19:19 +0200
parents 1597fb8b9108
children 069ad98b360d
line wrap: on
line diff
--- a/src/bridge/bridge.py	Sat Apr 19 16:48:26 2014 +0200
+++ b/src/bridge/bridge.py	Sat Apr 19 19:19:19 2014 +0200
@@ -17,9 +17,10 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-from logging import debug, info, error
+from sat.core.log import getLogger
+log = getLogger(__name__)
 
 
 class Bridge(object):
     def __init__(self):
-        info("Bridge initialization")
+        log.info("Bridge initialization")