website/docs/getting-started-guides/ubuntu/logging.md

21 lines
661 B
Markdown
Raw Normal View History

---
2017-01-11 01:55:43 +00:00
title: Logging
---
{% capture overview %}
This page will explain how logging works within a Juju deployed cluster.
{% endcapture %}
{% capture prerequisites %}
This page assumes you have a working Juju deployed cluster.
{% endcapture %}
## Agent Logging
The `juju debug-log` will show all of the consolidated logs of all the Juju agents running on each node of the cluster. This can be useful for finding out why a specific node hasn't deployed or is in an error state. These agent logs are located in `/var/lib/juju/agents` on every node.
See the [Juju documentation](https://jujucharms.com/docs/stable/troubleshooting-logs) for more information.