From ab1398e94000eed181de466e1b1e66243997db78 Mon Sep 17 00:00:00 2001 From: Mike Wilson Date: Tue, 27 Feb 2018 14:17:47 -0500 Subject: [PATCH] Update logging documentation (#7526) Juju option has changed. --- docs/getting-started-guides/ubuntu/logging.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started-guides/ubuntu/logging.md b/docs/getting-started-guides/ubuntu/logging.md index e8ddb10c80..9c29a0ddda 100644 --- a/docs/getting-started-guides/ubuntu/logging.md +++ b/docs/getting-started-guides/ubuntu/logging.md @@ -26,10 +26,10 @@ Log verbosity in Juju is set at the model level. You can adjust it at any time: juju add-model k8s-development --config logging-config='=DEBUG;unit=DEBUG' ``` -and later +and later on your k8s-production model ``` -juju config-model k8s-production --config logging-config='=ERROR;unit=ERROR' +juju model-config -m k8s-production logging-config='=ERROR;unit=ERROR' ``` In addition, the jujud daemon is started in debug mode by default on all controllers. To remove that behavior edit ```/var/lib/juju/init/jujud-machine-0/exec-start.sh``` on the controller node and comment the ```--debug``` section.