Adding a section on how to get the controller logs. #1061

Merged
merged 2 commits into from May 3, 2016

Conversation

Projects
None yet
4 participants
Contributor

mbruzek commented May 2, 2016

Addressing #1060. This information was not obvious to me. The core developers shared this with me and I wanted to make sure we had it documented.

src/en/developer-debugging.md
+
+### Log files on the controller
+
+In Juju 2.0+ the machine running the the controller is not represented in the
@AdamIsrael

AdamIsrael May 2, 2016

Contributor

"the the" -> "the"

"In Juju 2.0+" -> "Beginning with Juju 2.0,"

@mbruzek

mbruzek May 2, 2016

Contributor

I am embarrassed, thank you for finding these errors.

+```
+juju switch local.amazon:admin
+juju ssh 0
+```
@AdamIsrael

AdamIsrael May 2, 2016

Contributor

Maybe add how to read the logs, i.e., tail -f /var/log/juju/blah, after sshing to the machine.

@mbruzek

mbruzek May 2, 2016

Contributor

@AdamIsrael the tail command is why you are there in the first place (because you missed the juju debug-log in the first place)! I would resist telling someone what to do with the log files because there are so many different ways and reasons to be viewing the logs (more|less|grep|vi|nano|emacs).

Member

evilnick commented May 2, 2016

Probably also worth referencing the general logging page, which already documents how to retrieve controller logs amongst other things

../troubleshooting-logs.md

Contributor

mbruzek commented May 2, 2016

@AdamIsrael and @evilnick thanks for the review. I have addressed your comments in the latest commit. Please let me know if you find anything else.

Collaborator

chuckbutler commented May 2, 2016

+1 LGTM

@evilnick evilnick merged commit 43ddd39 into juju:master May 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment