510973e Determine process at log-time, not startup-time.

Authored and Committed by ralph 10 years ago
    Determine process at log-time, not startup-time.
    
    This is because things like the fedmsg-hub are daemons, and will double-fork
    into the background.  If we determine the process at startup time, that original
    process is long dead by the time we get to the first log statement.