]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
director: Small improvements to director-test.sh
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 24 Mar 2016 00:43:43 +0000 (09:43 +0900)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 29 Mar 2016 08:21:24 +0000 (11:21 +0300)
Test with a bigger director ring. Include microseconds in log timestamps to
make debugging easier. Changed the name of the info_log_path.

src/director/director-test.sh

index c88794cef8c9503c311f614bc02ac3a785470007..0670c4efc3489ecaad18ccdcdd8d0b006533a9ab 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-director_count=3
+director_count=10
 
 echo "Add to /etc/hosts:"
 
@@ -23,7 +23,9 @@ done
 
 cat > dovecot-director-common.conf.inc <<EOF
 log_path = /var/log/dovecot.log
-info_log_path = /var/log/dovecot-access.log
+info_log_path = /var/log/dovecot-info.log
+log_timestamp = "%b %d %H:%M:%S.%{usecs} "
+
 director_servers =$dirs
 director_mail_servers = 127.0.0.1-127.0.0.255
 director_user_expire = 15s