[Twisted-Python] Log level using Twistd
30 Apr
2014
30 Apr
'14
2:57 a.m.
Hello, I am trying to modify loglevel withou result. I configure my app logging inside the tac file as: logging.basicConfig(level=logging.ERROR, format="%(asctime)s --- %(name)s - %(levelname)s - %(message)s") logfile = DailyLogFile("gdumper.log", "/var/log") application.setComponent(ILogObserver, FileLogObserver(logfile).emit) logging.basicConfig call seems do not apply as I get both log.msg and log.err messages into the log. Is there any other way to set up log level? Regards
3617
Age (days ago)
3621
Last active (days ago)
2 comments
2 participants
participants (2)
-
exarkun@twistedmatrix.com
-
Juan Antonio Ibañez Santorum