Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
tests: Minimize syslog activity by slapd
authorAndres Freund <andres@anarazel.de>
Fri, 17 Mar 2023 00:48:47 +0000 (17:48 -0700)
committerAndres Freund <andres@anarazel.de>
Fri, 17 Mar 2023 02:38:06 +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.3yjdbjkly2q4gq2j@awork3.anarazel.de
Backpatch: 11-

src/test/ldap/t/001_auth.pl

index e73e5401890ca66c04a500bc0c0dc301164dca6e..692e42c78e236190e908f58b6a54f0edb537c2ed 100644 (file)
@@ -68,6 +68,7 @@ include $ldap_schema_dir/inetorgperson.schema
 
 pidfile $slapd_pidfile
 logfile $slapd_logfile
+logfile-only on
 
 access to *
         by * read