Mercurial > libervia-backend
diff src/sat.tac @ 1010:73a0b7f94674
primitivus: use of new logging system:
- default output is \\memory
- logs can be seen with :messages command
- now useless writeLog method has been removed
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 05 May 2014 20:12:19 +0200 |
parents | 652c01ca69b1 |
children | e40d9858cb83 |
line wrap: on
line diff
--- a/src/sat.tac Mon May 05 18:58:34 2014 +0200 +++ b/src/sat.tac Mon May 05 20:12:19 2014 +0200 @@ -22,8 +22,9 @@ glib2reactor.install() # 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() +log.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