Duncan Findlay <[EMAIL PROTECTED]> writes:

> On Mon, Jun 03, 2002 at 08:51:25PM -0700, Harry Putnam wrote:
>> I'm running spamd like this:
>>   spamd -d -D -L -S
>
> Once spamd daemonizes (with the -d option) it's debugging output is
> sent to /dev/null (It's a "well-behaved daemon"). Run "spamd -D -L -S
>>> log &" if you want, it has essentially the same effect.

Thanks, that resolves something that seemed quite a mystery to me.
Maybe it is made clear in man spamd but I sure missed it if it is.  To
be sure, someone else had posted something very similar in response to
an earlier comment of mine about the debug output, but I didn't follow
their suggestion and try it without -d.

You call it well behaved daemon behavior but I think it really should
be considered a small bug.  A documentation bug if nothing else.

Bryan Hoover <[EMAIL PROTECTED]> writes:

> Harry Putnam wrote:
>
>> I'm running spamd like this:
>>   spamd -d -D -L -S
>> Using the standard procmail method, where should I find any logs that
>> indicate a problem with any config files.  They don't seem to appear
>> in syslog output nor in procmail.log.
>>
>
> Looking at the spamd source, you can use -s log_file_name as a command
> line parameter to spamd.  It defaults to 'mail.'  It will also pass the
> -D option on to SA to tell it to log..

It doesn't work like that though, as verified by Duncans comments.
On my setup `mail' is sent to /var/log/maillog, but no debug info
shows up there.  Even a syslog entry like:

   *.debug           /var/log/debug

Fails to show it (except for restarts)

So I think Duncan has hit it, in that -d (daemonize) silences the
debug output.  Although that doesn't explain why one still sees
restart output.  Maybe that isn't considered debug info.

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to