tests: Minimize syslog activity by slapd
authorAndres Freund
Fri, 17 Mar 2023 00:48:47 +0000 (17:48 -0700)
committerAndres Freund
Fri, 17 Mar 2023 02:38:03 +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/t/001_auth.pl

index 3f7bea9aa6c55800482218d33844d05080dc5b6c..f2f8f27c3a5f18e3ce7fd2a2d770c5bf5b7128af 100644 (file)
@@ -90,6 +90,7 @@ include $ldap_schema_dir/inetorgperson.schema
 
 pidfile $slapd_pidfile
 logfile $slapd_logfile
+logfile-only on
 
 access to *
         by * read