procmail
[Top] [All Lists]

Re: Is there a way

2004-07-20 10:19:02
On Jul 20, 2004, at 5:29 AM, Curtis Maurand wrote:

is there a way to get procmail to put its process ID in the logfile.

LOG="Here is my PID: $$
"

I get multiple entries in the logfile from different procmail processes that overlap with one another.

Ah.
That's not going to help you.
Suggestion is to write everything as "One Line" using the TRAP directive.

It makes it difficult to track things down when trying to troubleshoot.

I have felt your pain, previously.
Then I started using this.

TRAP='/usr/bin/sed -n '"'"'/^$/'"'"'"{h;s#^#Folder: $LASTFOLDER#;p;g;p;q;};p;"'

Aloha mai Nai`a!
--
"Please have your Internet License             http://kapu.net/~mjwise/
  and Usenet Registration handy..."


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>