[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Missing argument in new logging in acl.c (ITS#1018)
- To: Gary Williams <Gary.Williams@sas.com>
- Subject: Re: Missing argument in new logging in acl.c (ITS#1018)
- From: Pierangelo Masarati <masarati@aero.polimi.it>
- Date: Thu, 08 Feb 2001 14:28:32 +0100
- Cc: OpenLDAP Devel <openldap-devel@OpenLDAP.org>
- Organization: Dipartimento di Ingegneria Aerospaziale
- References: <764CA2FF49EC054BA086FC8253A52DD7303B5E@merc09.us.sas.com>
Gary Williams wrote:
> Thanks for the pointers. It's easy to change the fopen in the
> configure module to use a "a" rather than a "w", I just was
> worried about log files growing without bound. I guess for
> now that'll have to be an administrative concern. I think at
> some point, we'll want to have the ability to have the server
> create a daily file, and close it and open a new one at
> midnight.
Well, maybe logrotate may suffice, though.
>
> I didn't think the log levels were really textual, they just
> have macros defined to use (like I use the LDAP_LEVEL_*
> macros). The logging could be changed to recognize the
> levels in a text format from the command line or the config
> file, but we need to do a greater-than and less-than test
> against the current log level setting and the log call being
> made, so they have to resolve to integers at some point.
I only meant at config time, because I'd feel more comfortable with
debug backend alert
rather than
debug backend 1
but it's a matter of personal taste. What I'd really be interested
in is a means to change the log level without having to restart the
server :)
Pierangelo.
--
Dr. Pierangelo Masarati | voice: +39 02 2399 8365
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati