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:04 +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 0a310ccb15a892100fcd6ca464dba264a15a4df0..5f2ba8e5967694ad1778947c3e6f50335b3d40ae 100644 (file)
@@ -78,6 +78,7 @@ include $ldap_schema_dir/inetorgperson.schema
 
 pidfile $slapd_pidfile
 logfile $slapd_logfile
+logfile-only on
 
 access to *
         by * read