March 19, 2010
1:33 p.m.
Sean Reifschneider wrote:
If you call:
from syslog import syslog, openlog syslog('My error message')
Something like the following gets logged:
Mar 18 05:20:22 guin python: My error message ^^^^^^
Where I'm annoyed by the "python" in the above. This is pulled from the C argv[0]. IMHO, what we really want is the Python sys.argv[0].
I agree with this. The existing behavior is very annoying. I don't have any particular thoughts about the implementation. Eric.