On Friday 13 January 2006 23:05, Nigel Horne wrote:
> On Fri, 2006-01-13 at 15:06 +0400, Sergey wrote:
> > Hello.
> > 
> > Which component of clamav-milter write to log
> > 
> > [49156] cur 0 new 1 nextmask 2
> > [49156] got cmd 'D' len 148
> > [49156] cur 1 new ffffffff nextmask 2004
> > [49156] got cmd 'C' len 42
> > [49156] cur 1 new 2 nextmask 2004
> > [49156] got cmd 'D' len 1
> > 
> > ?
> > 
> > I wish to forbid it, but I can not understand, how. :-(
> 
> Disable LogVerbose in clamd.conf

Hm...

=============
        if(cfgopt(copt, "LogSyslog")) {
                int fac = LOG_LOCAL6;

                if(cfgopt(copt, "LogVerbose")) {
                        logVerbose = 1;
#if     ((SENDMAIL_VERSION_A > 8) || ((SENDMAIL_VERSION_A == 8) && 
(SENDMAIL_VERSION_B >= 13)))
                        smfi_setdbg(6);
#endif
                }
                use_syslog = 1;

                if((cpt = cfgopt(copt, "LogFacility")) != NULL)
                        if((fac = logg_facility(cpt->strarg)) == -1) {
                                fprintf(stderr, "%s: LogFacility: %s: No such 
facility\n",
                                        argv[0], cpt->strarg);
                                return EX_CONFIG;
                        }
                openlog(progname, LOG_CONS|LOG_PID, fac);
==============

LogVerbose is used only when LogSyslog is active... But it have an influence to 
not
syslog logging...

-- 
Regards,
Sergey
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html

Reply via email to