tests: Minimize syslog activity by slapd
authorAndres Freund <[email protected]>
Fri, 17 Mar 2023 00:48:47 +0000 (17:48 -0700)
committerAndres Freund <[email protected]>
Fri, 17 Mar 2023 02:38:02 +0000 (19:38 -0700)
Until now the tests using slapd spammed syslog for every connection /
query. Use logfile-only to prevent syslog activity. Unfortunately that only
takes effect after logging the first message, but that's still much better
than the prior situation.

Discussion: https://postgr.es/m/20230311233708[email protected]
Backpatch: 11-

src/test/ldap/LdapServer.pm

index 9a4d36bba98dac57f2c8eec3e6f1b78fdf5cbfcc..ae2a1894cf4d6ae39c141863a781b6009c35a5b8 100644 (file)
@@ -169,6 +169,7 @@ sub new
 
        pidfile $slapd_pidfile
        logfile $slapd_logfile
+       logfile-only on
 
        access to *
                by * read