mirror of
https://github.com/wrolpi/wrolpi-help.git
synced 2026-12-03 21:30:01 -05:00
Adding Controller documentation and screnshots.
This commit is contained in:
parent
57863904ff
commit
7405d2d5fc
31 changed files with 661 additions and 12 deletions
|
|
@ -1,7 +1,17 @@
|
|||
# Logs
|
||||
|
||||
Service logs can be viewed through the [Controller](../controller/services.md#viewing-service-logs)
|
||||
web interface, or via command line using `journalctl`.
|
||||
|
||||
## Using the Controller
|
||||
|
||||
Click the **Logs** button next to any service in the Controller to view its recent log output.
|
||||
See [Viewing Service Logs](../controller/services.md#viewing-service-logs) for details.
|
||||
|
||||
## Command Line
|
||||
|
||||
The following is a simple overview to view the logs of the [WROLPi Services](index.md#services). WROLPi logs are
|
||||
gathered by `systemd`. Logs are viewed using `journalctl`.
|
||||
gathered by `systemd`. Logs are viewed using `journalctl`.
|
||||
|
||||
You can watch all the logs on your WROLPi:
|
||||
|
||||
|
|
@ -21,9 +31,9 @@ To view logs only from the most recent boot:
|
|||
journalctl -f -b
|
||||
```
|
||||
|
||||
The above commands use `-f` (follow) which will display logs as soon as they are created. You can view older logs by
|
||||
removing `-f` from the command, but you will need to use your keyboard to navigate the logs. Use `up`, `down`,
|
||||
`page-up` and `page-down` keys. You can also use `g` to navigate to the top of the log, and `shift-g` to navigate to
|
||||
The above commands use `-f` (follow) which will display logs as soon as they are created. You can view older logs by
|
||||
removing `-f` from the command, but you will need to use your keyboard to navigate the logs. Use `up`, `down`,
|
||||
`page-up` and `page-down` keys. You can also use `g` to navigate to the top of the log, and `shift-g` to navigate to
|
||||
the bottom of the logs.
|
||||
|
||||
## API
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue