Nick Folino wrote:
> Yes. Logging now continues to work after changes to config.
>
> But - adding levels works on the fly, but removing them doesn't.
> For instance this works fine:
> olcLogLevel: stats
>
> If I change it to "stats ACL" then the ACL data starts getting added to the log. No restart required.
> If I change it back to "stats" I keep getting ACL data until the directory is restarted.
That's the normal way it has always worked. If you want to remove flags, you must first explicitly
set it to zero, and then set your desired level in a subsequent Modify request.
>
> Nick
>
> On Wed, Sep 29, 2021 at 5:49 PM Quanah Gibson-Mount <quanah@symas.com <mailto:quanah@symas.com>> wrote:
>
>
>
> --On Wednesday, September 29, 2021 9:17 AM -0400 Nick Folino
> <nick@folino.us <mailto:nick@folino.us>> wrote:
>
> >
> > I don't know what the expected results should be, but changing
> > olcLogLevel while running causes all logging to the specified file to
> > stop.
> >
> > Logging starts with the new level upon restart.
>
> This should now be fixed. :)
>
> --Quanah
>
>
> --
>
> Quanah Gibson-Mount
> Product Architect
> Symas Corporation
> Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
> <http://www.symas.com>
>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/