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

doc: describe how to collect nabox logs #2321

Merged
merged 1 commit into from
Aug 22, 2023
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
17 changes: 14 additions & 3 deletions docs/help/log-collection.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Harvest Logs Collection Guide

This guide will help you collect logs for Harvest on various platforms. Follow the instructions specific to your platform. If you would like to share the collected logs with the Harvest team, feel free to email them to `[email protected]`.
This guide will help you collect Harvest logs on various platforms.
Follow the instructions specific to your platform.
If you would like to share the collected logs with the Harvest team,
please email them to [[email protected]](mailto:[email protected]).

## RPM, DEB, and Native Installations

Expand All @@ -24,6 +27,14 @@ This command will create a file named `harvest_logs.tar.gz` containing the logs

## NABox

For NABox installations, refer to the NABox documentation on collecting logs:
For NABox installations, use the following command to create a compressed tar file containing the logs:

[NABox Troubleshooting - Collecting Logs](https://nabox.org/documentation/troubleshooting/#collecting-logs)
```bash
dc logs nabox-api > nabox-api.log; dc logs nabox-harvest2 > nabox-harvest2.log;\
tar -czf nabox-logs-`date +%Y-%m-%d_%H:%M:%S`.tgz *
```

This command will create a file named `nabox-logs-$date.tgz` containing the nabox-api and Harvest poller logs.

For more information,
see the [NABox documentation on collecting logs](https://nabox.org/documentation/troubleshooting/#collecting-logs)
Loading