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 fetch-service logs #126

Merged
merged 2 commits into from
Oct 14, 2024
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
12 changes: 9 additions & 3 deletions reference/services/fetch-service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,19 @@ Related specifications (only accessible for Canonical employees)

Log files
---------
See `FreshLogs documentation <https://wiki.canonical.com/Launchpad/FreshLogs>`_.

Production
~~~~~~~~~~
Not set up.

* ``rless fetch-service.lp.internal::fetch-service-logs/fetch-service.log``

Qastaging
~~~~~~~~~
Currently, to access the fetch-service internal logs, one needs to:

* ``rless fetch-service.qastaging.lp.internal::fetch-service-logs/fetch-service.log``

Alternatively, to access the fetch-service internal logs, one needs to:

1. SSH into Launchpad's bastion and switch to the following user:
``stg-lp-fetch-service-qastaging@launchpad-bastion-ps5``.
Expand All @@ -141,7 +147,7 @@ Currently, to access the fetch-service internal logs, one needs to:
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:
You can also check the logs in the following directory:
``/var/snap/fetch-service/current``.

Monitoring
Expand Down
Loading