Re: Peculiarity of '@' in logging.Formatter

2011-11-23 Thread Vinay Sajip
On Nov 21, 11:17 pm, Charlie Martin wrote: > This is what seems like an odd bug, but in code I'd > thing often-enough used it must be the expected behavior > and I just don't understand.  Please, sirs/mesdames, is > this a bug? It may be a bug, but if so, it's in the syslog daemon rather than log

Re: Peculiarity of '@' in logging.Formatter

2011-11-22 Thread Tiaburn Stedd
Upvote this. Looks like a bug for me. begin results -- Nov 22 16:47:45 lvaltp0521 [minitest: 021]:My log message:isn't it special? Nov 22 16:47:45 lvaltp0521 [minitest@021]: My log message:isn't it special? end results

Re: Peculiarity of '@' in logging.Formatter

2011-11-21 Thread Charlie Martin
Oops, forgot the python version etc: bash $ /usr/bin/env python -V Python 2.7 On SuSE 11.4 bash $ uname -a Linux crmartin 2.6.37.6-0.9-desktop #1 SMP PREEMPT 2011-10-19 22:33:27 +0200 x86_64 x86_64 x86_64 GNU/Linux -- http://mail.python.org/mailman/listinfo/python-list

Peculiarity of '@' in logging.Formatter

2011-11-21 Thread Charlie Martin
This is what seems like an odd bug, but in code I'd thing often-enough used it must be the expected behavior and I just don't understand. Please, sirs/mesdames, is this a bug? Example code: begin code --- #!/usr/bin/env python """ @-character WTF? """ import sy