Skip to content

Commit 28a37dc

Browse files
Ensure that startup messages are flushed so they appear in logs immediately.
1 parent 6909256 commit 28a37dc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/release-notes/version-4.5.3.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ Version 4.5.3
55
Version 4.5.3 of mod_wsgi can be obtained from:
66

77
https://codeload.github.com/GrahamDumpleton/mod_wsgi/tar.gz/4.5.3
8+
9+
Bugs Fixed
10+
----------
11+
12+
1. Ensure that startup messages are flushed so immediately visible in logs.

src/server/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3128,6 +3128,8 @@ def _cmd_setup_server(command, args, options):
31283128

31293129
print('Locale Setting :', options['locale'])
31303130

3131+
sys.stdout.flush()
3132+
31313133
if not options['rewrite_rules']:
31323134
options['rewrite_rules'] = options['server_root'] + '/rewrite.conf'
31333135

0 commit comments

Comments
 (0)