[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: RE : Log level and performances



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


>  - no log              : 2540 op/s (cool !)
>  - loglevel=256, sync  : 29   op/s (uh !)
>  - loglevel=256, async : 1890 op/s (not bad ...)
>  - slapd -d 256        : 2577 op/s (higher than forseen)

I run slapd under svc, which means that I need to start it with -d.

One day, I switched logging off (so I thought) with -d 0.
However, after a couple of days, my disk was full - tons and tons of logfiles!

I found out this was because in slapd.conf I have 

	loglevel 65535

and the 'loglevel' directive logs to syslog, while -d logs to stdout - at the 
same time!

So using -d 0 didn't have any effect on the logging in syslog.

Nou I have 'loglevel 0' in slapd.conf and I tune the level of logging solely 
with -d.

Don't know if that is usefull to you, but I thought I'd share it. (OL 2.1.25).

_Ace



website: http://www.suares.nl * http://www.qwikzite.nl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFAg75my7boE8xtIjURApYXAKCMdl0yaOmWIn0rR1AschLSe7efhACgka0d
olV442+8xThBTjXc8DHSTG0=
=oouQ
-----END PGP SIGNATURE-----