Skip to content

docs: Improved visibility into viewing Juju unit logs #159

@LCVcode

Description

@LCVcode

Hi,

Juju units logs can be viewed with:

sudo k8s kubectl logs --namespace openstack --container <container_name> <pod_name>

This is currently documented under How-to Guides > Troubleshooting > Inspecting the cluster > Services hosted on Canonical Kubernetes, which seems too deeply buried in the docs for how essential and common an operation it is. It is also difficult to search. Those of us with long experiences with Charmed OpenStack will try (and have already tried) to juju ssh to units then check under /var/log/juju/, which is empty in Sunbeam.

It seems reasonable to also document this in a much more prominent and easily searchable location, such as adding a section like How-to Guides > Operations > Checking unit logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions