Re: [Mailman-Developers] [Mailman-Users] Problems with uuencoded attachments

2006-01-15 Thread Tokio Kikuchi
Barry Warsaw wrote: > On Mon, 2006-01-16 at 09:25 +0900, Tokio Kikuchi wrote: > > >>In usual mailman qrunner execs, stderr is logged into logs/errors. It >>is the additional tee_to_real_stderr in LogStdErr() setting which wants >>to print the error into real stderr. >> >>Isn't it safe to put t

Re: [Mailman-Developers] [Mailman-Users] Problems with uuencoded attachments

2006-01-15 Thread Barry Warsaw
On Mon, 2006-01-16 at 09:25 +0900, Tokio Kikuchi wrote: > In usual mailman qrunner execs, stderr is logged into logs/errors. It > is the additional tee_to_real_stderr in LogStdErr() setting which wants > to print the error into real stderr. > > Isn't it safe to put the tee_to_real_stderr value

Re: [Mailman-Developers] [Mailman-Users] Problems with uuencoded attachments

2006-01-15 Thread Tokio Kikuchi
Barry Warsaw wrote: > On Jan 14, 2006, at 9:59 PM, Tokio Kikuchi wrote: > > >>Mark Sapiro wrote: >> >> >> File "/usr/lib/python2.3/uu.py", line 139, in decode sys.stderr.write("Warning: %s\n" % str(v)) File "/usr/lib/mailman/Mailman/Logging/MultiLogger.py", line 45, in write >

Re: [Mailman-Developers] [Mailman-Users] Problems with uuencoded attachments

2006-01-15 Thread Barry Warsaw
On Jan 14, 2006, at 9:59 PM, Tokio Kikuchi wrote: > Mark Sapiro wrote: > > >>> File "/usr/lib/python2.3/uu.py", line 139, in decode >>> sys.stderr.write("Warning: %s\n" % str(v)) >>> File "/usr/lib/mailman/Mailman/Logging/MultiLogger.py", line 45, >>> in write >>> _logexc(logger, msg) >>> Fi

Re: [Mailman-Developers] [Mailman-Users] Problems with uuencoded attachments

2006-01-15 Thread Mark Sapiro
Tokio Kikuchi wrote: > >There should be other chances that Python builtin modules spew warnings >to sys.stderr. How about this patch for Logging/Utils.py to write these >messages into syslog facility. The patch looks good to me, and I think is a good thing in general. It's clearly better than s

Re: [Mailman-Developers] [Mailman-Users] Problems with uuencoded attachments

2006-01-14 Thread Tokio Kikuchi
Mark Sapiro wrote: File "/usr/lib/python2.3/uu.py", line 139, in decode sys.stderr.write("Warning: %s\n" % str(v)) File "/usr/lib/mailman/Mailman/Logging/MultiLogger.py", line 45, in write _logexc(logger, msg) File "/usr/lib/mailman/Mailman/Logging/Utils.py", line 22, in _logexc sys.__std