Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Adding a section on how to get the controller logs. #1061
Conversation
AdamIsrael
reviewed
May 2, 2016
| + | ||
| +### Log files on the controller | ||
| + | ||
| +In Juju 2.0+ the machine running the the controller is not represented in the |
AdamIsrael
reviewed
May 2, 2016
| +``` | ||
| +juju switch local.amazon:admin | ||
| +juju ssh 0 | ||
| +``` |
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
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).
|
Probably also worth referencing the general logging page, which already documents how to retrieve controller logs amongst other things ../troubleshooting-logs.md |
|
@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. |
|
+1 LGTM |
mbruzek commentedMay 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.