Dave

Thanks for your solution. This has indeed fixed the excessive logging
with my installation of dbmail.

Cheers
Mark

On Tue, 2003-01-07 at 04:47, Dave Meador wrote:
> The way I minimized the logs was to set the default trace level to 2
> inside debug.c.  The dbmail-1.0 source has TRACE_LEVEL defaulted to 4.
> The problem is that there are many trace statements throughout the code
> and some are executed before the dbmail.conf is read to set/change the
> log level, so these debug level trace messages are always sent to the
> log.  This trace default is referenced by dbmail-smtpd, dbmail-imapd,
> and dbmail-pop3d, so this one change will propagate to all these
> daemons.
> 
> That's no problem, just change "debug.c" from:
>      int TRACE_LEVEL = 4;     /* default: error operations */
> to something less verbose, like:
>      int TRACE_LEVEL = 2;     /* default: error operations */
> 
> then recompile and restart the daemons. That should get rid of most
> errors.   If you want to debug the process, set it back to 4 and
> restart.  
> 
> **** Be sure to change the log levels of each section to the desired
> value in the dbmail.conf file too. ****
> 
> Please report back if that works for you.
> 
> Regards,
> --Dave
> 
> 
> > I noticed some of the log settings were in the source code, I had to
> > change a couple of lines to reduce the loging.  I don't remember which
> > lines I changed.. but I was going to build a CVS update soon, and I
> will
> > post tomorow if I can't find it.  All I remember is DEBUG=5 is set in
> some
> > of the .h files..
> > 
> > - -ben
> > 
> > On 6 Jan 2003, Mark S Burgunder wrote:
> > 
> > > Hi
> > >
> > > I am running DBMAIL 1.0 and am very happy with it.
> > > Nevertheless I would like to trim down the amount of logging that
> the
> > > various parts of dbmail do. I have set TRACE_LEVEL=1 but am still
> > > getting a lot of messages in the maillog. Can I do something about
> this,
> > > so that I get less messages?
> > >
> > > Cheers
> > > Mark S Burgunder
> 
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
-- 
Mark S Burgunder <[EMAIL PROTECTED]>

Reply via email to