diff src/core/sat_main.py @ 1007:a7d33c7a8277

core (log): refactoring + twisted backend: - configuration is now done with classes, so inheritance is possible - twisted backend now use twisted log methods - log not produced by SàT directly in twisted backend are captured by an observer (twistedObserver) and sent back to SàT logging chain, with the "twisted" logger. - \\default output use normal twistd output, except in debug mode where it add an stdout output in addition to the log file. - when log_colors = True, colors are enabled only where it's possible (tty out), when log_colors=force colors are always enabled. - fixed some bad log.xxx calls
author Goffi <goffi@goffi.org>
date Mon, 05 May 2014 18:58:34 +0200
parents c37a24922f27
children fee00f2e11c2
line wrap: on
line diff
--- a/src/core/sat_main.py	Mon May 05 18:58:34 2014 +0200
+++ b/src/core/sat_main.py	Mon May 05 18:58:34 2014 +0200
@@ -325,7 +325,7 @@
         #self.connect()
 
     def stopService(self):
-        log.info("Salut aussi à Rantanplan")
+        log.info(u"Salut aussi à Rantanplan")
 
     def run(self):
         log.debug(_("running app"))