[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Q: Multiple accesslog overlays?
- To: openldap-technical@openldap.org
- Subject: Re: Q: Multiple accesslog overlays?
- From: Geert Hendrickx <geert@hendrickx.be>
- Date: Thu, 22 Aug 2019 13:19:00 +0200
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=hendrickx.be; s=geert; t=1566472740; bh=0Kc08GWldJjjsxu4No9y2NaS9tMnK+yhFaYL2NiMC/E=; h=Date:From:To:Subject:References:In-Reply-To; b=e9b3u4Padw9PIpOfRhGoZaxPVzAvFYvLZeIMj/lIgSOCiszWz2RYL6T5nuv9gPDEW OsZKtos4w9Plyd8cNiOOd0YD6yAWYQCi02loZTGhBe95V8g57eHAC0eVbu+ttE7RQJ dCGOtX1m+HQJz/zZF7d4KB2mCb42K1WHmxJUPBDPb7YY/1hvY4+LecIshnJGxzcBYv 0BR8ZCXx/F7IB3I+1IFprnl77Y/1Kx0l6GtPAULe6JsDwwXFoJZl3wpariMSuK4BVj OnA1a6YeJbCdMZ0F/5XVGCvB7y0ZH4PbRT9D9QyqhTXeMnrjB8/nrOXXLJNoekHBlX 4fERQVkGBlMbQ==
- In-reply-to: <583C7259A5DA47BB10B2882B@[192.168.1.144]>
- References: <5D5A7817020000A100032F44@gwsmtp.uni-regensburg.de> <583C7259A5DA47BB10B2882B@[192.168.1.144]>
- User-agent: Mutt/1.12.1 (2019-06-15)
On Mon, Aug 19, 2019 at 08:54:43 -0700, Quanah Gibson-Mount wrote:
> --On Monday, August 19, 2019 1:21 PM +0200 Ulrich Windl wrote:
> > I have a question preparing a transition of syncrepl to delta-syncrepl:
> > Our database already has an accesslog overlay (olcAccessLogOps: writes)
> > and a corresponding database configured for monitoring purposes.
>
> You haven't noted the value for olcAccessLogSuccess. Generally for
> delta-syncrepl *only* databases, this is set to TRUE. However, that's not
> mandatory (see the end for why).
Incidentally, we just toggled olcAccessLogSuccess to FALSE on a database
last week, to debug a provisioning issue where the client did not log
enough details. But our failed writes were still not logged.
Turns out that writes failed by an overlay (slapo-unique in our case) are
only logged to the accesslog, if this overlay is defined in the config
BEFORE the accesslog overlay (as overlays are loaded on a stack, see topic
12.18 in the admin guide). So we now put the accesslog overlay as last
instead of first.
Geert
--
geert.hendrickx.be :: geert@hendrickx.be :: PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!