[issue12906] Slight error in logging module's yaml config

Derrick Petzold report at bugs.python.org
Tue Sep 6 05:43:52 CEST 2011


Derrick Petzold <dpetzold at gmail.com> added the comment:

Oh crap that doesn't work either.

yaml.scanner.ScannerError: while scanning for the next token
found character '%' that cannot start any token
  in "/var/sites/magnum/magnum/logging.yaml", line 4, column 13

Should be 

format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'

Regards,

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12906>
_______________________________________


More information about the Python-bugs-list mailing list