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

THREESCALE-7906 #1318

Closed
wants to merge 3 commits into from
Closed

THREESCALE-7906 #1318

wants to merge 3 commits into from

Conversation

djmarinb
Copy link
Contributor

Under some error circumstances (like 414 Request-URI Too Large) the access log were generated in a phase previous to having defined the access_log_enabled and the extended_access_logs_enabled.

This causes a warning to arise, but most important, prevented that access to be logged.

We use the workaround of declaring the variables as a map with a default value, because maps can be used in the NGINX http context and therefore will be available and initialized even on the given error case.

Under some error circumstances (like 414 Request-URI Too Large) the  access log were generated in a phase previous to having defined the access_log_enabled and the extended_access_logs_enabled.

This causes a warning to arise, but most importanty, prevented that acces to be logged.

We use the workarround of declaring the variables as a map with a default value because maps can be used in the http context and therefore will be available and initialized even on the given error case.
@djmarinb djmarinb requested a review from a team as a code owner December 20, 2021 14:18
Allow CAPITAL letters on branches for the docker scripts of CircleCI
@djmarinb djmarinb closed this Dec 21, 2021
@djmarinb djmarinb deleted the bug/THREESCALE-7906 branch December 21, 2021 09:27
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.

1 participant