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

Re: filtered logging



<quote who="Kambiz Behrooz">
> Excise me. I should explain better
> Log level is set to 0x240 but then we get both success and errors for
> stats2 and config and there is no way to just get errors which we need
> only.

IIRC, try "loglevel none", this will only have high priority messages
logged, i.e. erorrs.

>
> Thanks
>
>> If I understand right so I need to send it to
>> openldap-software@openldap.org , right?
>
> Yes.
>
>>
>> by the way I never used overlay before.
>
> Ok.
>
>>
>> The company I work for use ldap pretty much and log file get big very
>> fast
>> and same times they are only interested on just "errors". Last time it
>> was
>> just a few lines on the file they needed and the log file contained over
>> 100K lines.
>
> This is the information I was after. If they only want to log errors,
> change the "loglevel" setting. See "man slapd.conf". This is what man
> pages are for ;-)
>
> What loglevel is it currently on.
>
>>
>> Thanks for the information
>>
>> Kind Regards,
>> Kambiz Behrooz
>>
>>
>>
>>
>> Kambiz Behrooz wrote:
>>> I am new on openldap (and ldap and this maillist).
>>> My company wants to have more control on the logging and I have to
>>> make changes on openldap and probably make changes so the can be on
>>> next version openldap.
>>>
>>> Does openldap use only syslog for all logging ?
>>> where is easiest to begin ?
>>> How good need the code be to have chance to be add to openldap ?
>>>
>>> Thanks for any information
>>>
>>>
>>
>> This is really for the openldap-software list. Please resend.
>>
>> Anyway....
>>
>> Have you looked at the accesslog overlay? You haven't mentioned why/what
>> logging is inadequate?
>>
>> Gavin
>>
>>
>> --
>> Kind Regards,
>>
>> Gavin Henry.
>> Managing Director.
>>
>> T +44 (0) 1224 279484
>> M +44 (0) 7930 323266
>> F +44 (0) 1224 824887
>> E ghenry@suretecsystems.com
>>
>> Open Source. Open Solutions(tm).
>>
>> http://www.suretecsystems.com/
>>
>>
>>
>> ____________________________________________________________________________________
>> Building a website is a piece of cake. Yahoo! Small Business gives you
>> all
>> the tools to get online.
>> http://smallbusiness.yahoo.com/webhosting
>
>
>
> ____________________________________________________________________________________
> Get the Yahoo! toolbar and be alerted to new email wherever you're
> surfing.
> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php