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

2011-09-06 Thread Derrick Petzold

Derrick Petzold dpetz...@gmail.com added the comment:

I know this is without etiquette but I must say holy shit that was quick and I 
can only hope that I do can do the same some day. Not with logging but maybe 
with something else. I think maybe I am already working on it. Hopefully maybe. 
Its hard to tell at times :). Ha but this (logging) helped me a lot ty again.

--
resolution: fixed - 
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12906
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-09-05 Thread Derrick Petzold

New submission from Derrick Petzold dpetz...@gmail.com:

Hello,

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

Should be:
 
format: %(asctime)s - %(name)s - %(levelname)s - %(message)s

Regards,

btw I have to say the logging module is just excellent. What a truly great 
work. ty.

--
assignee: docs@python
components: Documentation
messages: 143579
nosy: Derrick.Petzold, docs@python
priority: normal
severity: normal
status: open
title: Slight error in logging module's yaml config
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12906
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-09-05 Thread Derrick Petzold

Derrick Petzold dpetz...@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 rep...@bugs.python.org
http://bugs.python.org/issue12906
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com