Shane Williams wrote:
> I currently run spamd (3.4.1) with the --debug flag and a subset of
> debug channels and it handles enough traffic that the debug
> information for emails regularly overlap in the log file.  While each
> line contains the literal text "spamd" followed by the pid of the
> child (in brackets), those pids obviously recur again and again
> throughout the log file.
> 
> Is there some way to get a unique (or even mostly unique) identifier
> such that I could use it to grep a single "run" of a child process?  I
> don't see any options that would do this, so I suspect it will
> require changing the code, but I thought I'd ask in case I just missed
> something.

Mmm, not a direct answer, but...

What is in the debug output that you regularly need to see?  It might be
better to patch spamd to log that at a higher priority.

On anything more than a really trivial volume of mail I'd expect your
log files to be ginormous running with --debug in production.

-kgd

Reply via email to