diff --git a/nginx-ldap-auth-daemon.py b/nginx-ldap-auth-daemon.py index 5557b7f..5891362 100755 --- a/nginx-ldap-auth-daemon.py +++ b/nginx-ldap-auth-daemon.py @@ -155,6 +155,7 @@ class AuthHandler(BaseHTTPRequestHandler): sys.stdout.write("%s - %s [%s] %s\n" % (addr, user, self.log_date_time_string(), format % args)) + sys.stdout.flush() def log_error(self, format, *args): self.log_message(format, *args)