# HG changeset patch # User Goffi # Date 1400064747 -7200 # Node ID eca26481176fe4017de5f8549b20e54a586b0fc7 # Parent 17259c2ff96faa20d7713f64ae20c9f493ab6184 use of new config module for logs diff -r 17259c2ff96f -r eca26481176f browser_side/logging.py --- a/browser_side/logging.py Wed May 14 12:24:38 2014 +0200 +++ b/browser_side/logging.py Wed May 14 12:52:27 2014 +0200 @@ -20,7 +20,7 @@ from __pyjamas__ import console from constants import Const as C -from sat.core import log +from sat.core import log # XXX: we don't use core.log_config here to avoid the impossible imports in pyjamas class LiberviaLogger(log.Logger): diff -r 17259c2ff96f -r eca26481176f twisted/plugins/libervia.py --- a/twisted/plugins/libervia.py Wed May 14 12:24:38 2014 +0200 +++ b/twisted/plugins/libervia.py Wed May 14 12:52:27 2014 +0200 @@ -30,8 +30,8 @@ # XXX: We need to configure logs before any log method is used, so here is the best place. from constants import Const as C -from sat.core import log -log.satConfigure(C.LOG_BACKEND_TWISTED, C) +from sat.core import log_config +log_config.satConfigure(C.LOG_BACKEND_TWISTED, C) from zope.interface import implements