Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

[nginx-ingress-controller] Add docs about the log format #1806

Merged
merged 1 commit into from
Sep 30, 2016

Conversation

aledbf
Copy link
Contributor

@aledbf aledbf commented Sep 29, 2016

This change is Reviewable

@k8s-github-robot k8s-github-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 29, 2016
@@ -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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/información/iformation/

Copy link

@bprashanth bprashanth Sep 29, 2016

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/

Copy link
Contributor Author

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;

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

Copy link
Contributor Author

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.

@bprashanth bprashanth added the lgtm Indicates that a PR is ready to be merged. label Sep 30, 2016
@bprashanth
Copy link

Thanks LGTM

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 8388df9 into kubernetes-retired:master Sep 30, 2016
@aledbf aledbf deleted the fix-log-warn branch October 2, 2016 20:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants