Issue 5793 - RFE for flexible logging at 256/stats level
Summary: RFE for flexible logging at 256/stats level
Status: UNCONFIRMED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- enhancement
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-05 11:16 UTC by Gavin Henry
Modified: 2020-03-19 04:44 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Gavin Henry 2008-11-05 11:16:16 UTC
Full_Name: Gavin Henry
Version: N/A
OS: N/A
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (80.229.93.1)
Submitted by: ghenry


Hi all,

Just a quick note to say it would be nice to be able to break out loglevel 256
i.e. Log just writes. The same as accesslog config. 

Thanks,

Gavin.

Comment 1 ando@openldap.org 2008-11-19 09:02:47 UTC
ghenry@OpenLDAP.org wrote:

> Just a quick note to say it would be nice to be able to break out loglevel 256
> i.e. Log just writes. The same as accesslog config. 

Are you thinking of something like a read/write/auth flag, plus possibly 
a success/failure flag, or a per-operation granularity?

Wouldn't it make sense to entirely give up syslog'ging and use 
slapo-accesslog instead?

p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------

Comment 2 ando@openldap.org 2008-11-19 09:06:05 UTC
moved from Incoming to Software Enhancements
Comment 3 Gavin Henry 2008-11-19 14:15:37 UTC
----- "Pierangelo Masarati" <ando@sys-net.it> wrote:

> ghenry@OpenLDAP.org wrote:
> 
> > Just a quick note to say it would be nice to be able to break out
> loglevel 256
> > i.e. Log just writes. The same as accesslog config. 
> 
> Are you thinking of something like a read/write/auth flag, plus
> possibly 
> a success/failure flag, or a per-operation granularity?

Probably the later. It's more to not lot searches, but writes, as 256
can really fill up your logfile.
 
> Wouldn't it make sense to entirely give up syslog'ging and use 
> slapo-accesslog instead?

For some users, yes. But having the phyiscal log is appealing too.

Thanks.

-- 
Kind Regards,

Gavin Henry.
OpenLDAP Engineering Team.

E ghenry@OpenLDAP.org

Community developed LDAP software.

http://www.openldap.org/project/

Comment 4 Michael Ströder 2008-11-20 13:20:56 UTC
ando@sys-net.it wrote:
> Wouldn't it make sense to entirely give up syslog'ging and use 
> slapo-accesslog instead?

Hmm, I think this change would be too radical. I still see some value in 
text messages going to syslog. Configuration issues are sometimes more 
obvious if you see the syslog messages of LDAP-enabled components and 
the LDAP server one after the other in the same log.

Ciao, Michael.

Comment 5 ando@openldap.org 2008-11-20 13:54:45 UTC
michael@stroeder.com wrote:
> ando@sys-net.it wrote:
>> Wouldn't it make sense to entirely give up syslog'ging and use 
>> slapo-accesslog instead?
> 
> Hmm, I think this change would be too radical. I still see some value in 
> text messages going to syslog. Configuration issues are sometimes more 
> obvious if you see the syslog messages of LDAP-enabled components and 
> the LDAP server one after the other in the same log.

I meant "give up" by not looking at logs for Gavin's purposes, not to 
eradicate them from the code.  Modifying "stats" logging would not 
probably be a big issue, if we define a specific mask: one bit for each 
operation, and one bit for success/failure.

p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------