A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-March/098543.html below:

[Python-Dev] Bug? syslog.openlog using ident "python" by default.

[Python-Dev] Bug? syslog.openlog using ident "python" by default. [Python-Dev] Bug? syslog.openlog using ident "python" by default.Eric Smith eric at trueblade.com
Fri Mar 19 14:33:15 CET 2010
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.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4