[ mailman-Patches-401598 ] Add command and args to LockFile's
logging
SourceForge.net
noreply at sourceforge.net
Tue Mar 11 11:51:52 EST 2003
Patches item #401598, was opened at 2000-09-21 20:39
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=401598&group_id=103
Category: list administration
Group: Mailman 2.0.x
Status: Closed
Resolution: Rejected
Priority: 1
Submitted By: Dan Mick (dmick)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add command and args to LockFile's logging
Initial Comment:
----------------------------------------------------------------------
>Comment By: Dan Mick (dmick)
Date: 2003-03-11 19:51
Message:
Logged In: YES
user_id=10725
The point was that many different agents can be trying to
acquire the same lock file; argv gave me "which agent", and
presence in the logs file in a certain order gave me order,
so it gave me nearly-free more information about diagnosing
lock failures. I guess I don't see how this is a mystery.
Fine, throw out string module, but what's wrong with
sys.argv? Isn't that exactly the first question to ask,
"who's failing to get the lock"?
----------------------------------------------------------------------
Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-03-11 14:26
Message:
Logged In: YES
user_id=12800
No, I think I'll reject this one. I don't want to count on
sys.argv for anything. Plus, string module -- yuck :)
I'm not exactly sure what information this adds or why Dan
needs it so I'm closing this one.
----------------------------------------------------------------------
Comment By: Thomas Wouters (twouters)
Date: 2003-03-11 13:37
Message:
Logged In: YES
user_id=34209
Barry, do you want this ? I'm not sure I see the point, as
just sys.argv won't tell you too much in the case of HTTP
POSTs, but I guess it doesn't hurt to add this.
The patch is still current, and even applies cleanly in
spite of being a straight ed diff ! :-)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=401598&group_id=103
More information about the Mailman-coders
mailing list