summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2023-03-17 00:48:47 +0000
committerAndres Freund2023-03-17 02:38:02 +0000
commitb9f8d1cbad7cdc4d0d29c5cdbb14e179a7111439 (patch)
tree2edae1b009e532ad482a3664625143df2a99c40c
parent98ae2c84a49e45c0434c7e1a55bb2fc71582f561 (diff)
tests: Minimize syslog activity by slapd
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/[email protected] Backpatch: 11-
-rw-r--r--src/test/ldap/LdapServer.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ldap/LdapServer.pm b/src/test/ldap/LdapServer.pm
index 9a4d36bba98..ae2a1894cf4 100644
--- a/src/test/ldap/LdapServer.pm
+++ b/src/test/ldap/LdapServer.pm
@@ -169,6 +169,7 @@ sub new
pidfile $slapd_pidfile
logfile $slapd_logfile
+ logfile-only on
access to *
by * read