Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

add documentation to enable debug logging #3391

Merged
merged 2 commits into from
Sep 6, 2018
Merged

add documentation to enable debug logging #3391

merged 2 commits into from
Sep 6, 2018

Conversation

murali-reddy
Copy link
Contributor

No description provided.

@@ -203,6 +203,18 @@ $ kubectl logs -n kube-system weave-net-1jkl6 weave
For easier viewing, pipe the output into a file , especially if
it is long.

By default log level is set to `info`. If you wish to see more detailed logs you can set the desired log level for the `-log-level` flag through the `EXTRA_ARGS` environment variable for the `weave` and `weave-npc` containers in the weave-net daemon set. Add environment variable as below.

This comment was marked as abuse.

This comment was marked as abuse.

@bboreham
Copy link
Contributor

bboreham commented Sep 5, 2018

It would be simpler to just add --log-level to the command, unless you specifically wanted it in both invocations of weaver.

@bboreham
Copy link
Contributor

bboreham commented Sep 5, 2018

I guess an env var is safer, also can be added via the mechanism at https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#configuration-options

@bboreham
Copy link
Contributor

bboreham commented Sep 6, 2018

This should really be on the 2.4 branch, so it feeds into the public website immediately.

@bboreham bboreham changed the base branch from master to 2.4 September 6, 2018 11:43
@bboreham
Copy link
Contributor

bboreham commented Sep 6, 2018

I've rebased and changed the branch to 2.4

@bboreham bboreham merged commit 612e265 into 2.4 Sep 6, 2018
@bboreham bboreham added this to the n/a milestone Sep 13, 2018
@bboreham bboreham deleted the debug-log branch December 24, 2018 12:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants