diff src/sat.tac @ 1021:a836b6da2c5c

core (log): moved configuration to core.log_config; this avoid import issues with pyjamas.
author Goffi <goffi@goffi.org>
date Wed, 14 May 2014 12:51:24 +0200
parents e40d9858cb83
children
line wrap: on
line diff
--- a/src/sat.tac	Tue May 13 17:17:57 2014 +0200
+++ b/src/sat.tac	Wed May 14 12:51:24 2014 +0200
@@ -34,8 +34,8 @@
 
 # XXX: We need to configure logs before any log method is used, so here is the best place.
 from sat.core.constants import Const as C
-from sat.core import log
-log.satConfigure(C.LOG_BACKEND_TWISTED)
+from sat.core import log_config
+log_config.satConfigure(C.LOG_BACKEND_TWISTED)
 
 # XXX: SAT must be imported after log configuration, because it write stuff to logs
 from sat.core.sat_main import SAT