Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instructions on how to get hold of the fetch service logs #118

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions reference/services/fetch-service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,18 @@ Qastaging
~~~~~~~~~
Currently, to access the fetch-service internal logs, one needs to:

1. SSH into ``stg-lp-fetch-service-qastaging@launchpad-bastion-ps5``.
1. SSH into Launchpad's bastion and switch to the following user:
``stg-lp-fetch-service-qastaging@launchpad-bastion-ps5``.

2. SSH into the fetch-service juju unit by running ``juju ssh <unit>``, for
example ``juju ssh fetch-service/2``.
2. SSH into the fetch-service juju unit by running
``juju ssh fetch-service/leader``.

3. Run ``sudo snap logs fetch-service -n 100 -f`` (where ``-n`` sets the number
of log lines, and ``-f`` keeps up the latest logs up-to-date).

Alternatively, you can also check the logs in the following directory:
``/var/snap/fetch-service/current``.

Monitoring
----------
Not set up.
Expand Down
Loading