Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-flush in 'Detailed' log format #222

Merged
merged 1 commit into from Jan 26, 2014
Merged

Auto-flush in 'Detailed' log format #222

merged 1 commit into from Jan 26, 2014

Conversation

paul-rouse
Copy link
Contributor

Even with wai-extra-2.0.3.1, the logging in "Detailed" format (eg yesod devel) is not flushed promptly. Not even as promptly as Apache or CustomOutputFormat! This is about the simplest possible fix to improve it.

The criticism of this fix might be that it is too eager to flush, but I imagine Detailed logging is pretty exclusively used in development, where immediate flushing is desirable. As far as I can see, anything else would require a configuration parameter to control flushing options.

snoyberg added a commit that referenced this pull request Jan 26, 2014
Auto-flush in 'Detailed' log format
@snoyberg snoyberg merged commit ff5cf6e into yesodweb:master Jan 26, 2014
@snoyberg
Copy link
Member

Good catch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants