[389-users] Logfile buffering

Nathan Kinder nkinder at redhat.com
Wed May 19 20:42:57 UTC 2010


On 05/19/2010 01:39 PM, Roland Schwingel wrote:
>
> Hi....
>
> One last question before switching of my machine...
> Is it possible that the dirsrv logfiles (access, error etc.) are 
> written to disk with activated buffering?
>
> When I do a tail -f on these logfiles I see a big delay in output. 
> When I do eg. an ldapsearch from
> a client the result appears immediately at the client, but it takes 
> about 10 to 15 seconds until the tail -f
> shows the search (or whatever I do). This is a bit inconvenient when 
> debugging things.
>
> Does this happen only to me or is this generally the case? Can this be 
> switched off/changed?
The access log output is buffered by default.  You can turn this off by 
setting the "nsslapd-accesslog-logbuffering" attribute to "off" in the 
"cn=config" entry.

The errors log is not buffered.

-NGK
>
> Thanks for your help,
>
> Roland
>
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20100519/0546b7ad/attachment.html>


More information about the 389-users mailing list