On 1/11/07, Pierangelo Masarati <[EMAIL PROTECTED]> wrote:
Andreas Taschner wrote:
> We have a setup with a very high number of binds, so running with loglevel
256 floods the log file.
> According to
http://www.openldap.org/lists/openldap-software/200205/msg00120.html John Dalbec
wrote a patch for this
> for 2.0.21, but AFAICS it was ever submitted.
> I would like to have eg. loglevel 64 to see the configuration file processing
and then on top of that only failed
> logins.
>
> Is the only way to accomplish that to rewrite that old patch to the current
level, or is there some other way to get
> there ?
You should be able to use the accesslog overlay (slapo-accesslog(5))
configured to log only binds and only in case of failure. In that case,
logs would appear in the database rather than in the log file. The log
database can be purged to keep it under control.
p.
I also found that removing the syslog interaction with the accesslog
overlay helped improve performance (available cpu) a fair amount.