-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[nginx-ingress-controller] Add docs about the log format #1806
[nginx-ingress-controller] Add docs about the log format #1806
Conversation
@@ -362,6 +363,39 @@ In addition to this, you will need to add a firewall rule for each port this con | |||
|
|||
Setting the annotation `kubernetes.io/ingress.class` to any value other than "nginx" or the empty string, will force the NGINX Ingress controller to ignore your Ingress. Do this if you wish to use one of the other Ingress controllers at the same time as the NGINX controller. | |||
|
|||
### Log format | |||
|
|||
The default configuration uses a custom logging format to add additional información about the upstreams |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/información/iformation/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/about the upstreams/about upstreams/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -73,6 +73,9 @@ http { | |||
|
|||
client_max_body_size "{{ $cfg.bodySize }}"; | |||
|
|||
# disable warning | |||
uninitialized_variable_warn off; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't this dangerous? is there a specific variable we're expecting to be uninitialized? if so pleas doc it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't this dangerous?
No (uninitialized variables appear as empty in the log). I removed the section to avoid hiding this issue.
05da339
to
1963622
Compare
Thanks LGTM |
Automatic merge from submit-queue |
This change is