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

fix(core) use admin_error_log for cluster listener #8583

Merged
merged 3 commits into from
Mar 24, 2022
Merged

Conversation

flrgh
Copy link
Contributor

@flrgh flrgh commented Mar 23, 2022

This server {} block previously had no error_log directive, so it was inheriting the proxy_error_log settings from the http {} scope. Logging to the same place as admin_error_log is more sensible. We might want to consider introducing a new cluster_error_log config option at some point to give users more flexibility (using admin_error_log as a fallback), but to me this seems fine for now.

This `server {}` block previously had no `error_log` directive, so it
was inheriting the `proxy_error_log` settings from the `http {}` scope.
@flrgh
Copy link
Contributor Author

flrgh commented Mar 24, 2022

@eskibars heads up/FYI. This is a fix for a bug/oversight, but it could be construed as a breaking change since we're effectively changing the default log file name for this area of the code.

@flrgh flrgh requested a review from a team March 24, 2022 19:30
@flrgh
Copy link
Contributor Author

flrgh commented Mar 24, 2022

Threw in a late commit updating the integration test template to match

@flrgh flrgh merged commit bf41810 into master Mar 24, 2022
@flrgh flrgh deleted the fix/cluster-error-log branch March 24, 2022 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants