feat: rebranded from vpn-router to linux-manager.
This commit is contained in:
1 parent
8efe21bfa6
commit
85a1ffa21f
238 files changed
+5010
-3761
No files matched your search
+6
-6
@@ -1,26 +1,26 @@
|
||||
# Logs
|
||||
|
||||
The last lines of the router's logs.
|
||||
The last lines of the server's logs.
|
||||
|
||||
## Sub-tabs
|
||||
|
||||
- **Journal:** the systemd journal of one of the router's units, or of all units.
|
||||
- **Files:** a log file the router lists in its setting `web.log_files`. Files are added on the
|
||||
- **Journal:** the systemd journal of one of the server's units, or of all units.
|
||||
- **Files:** a log file the server lists in its setting `web.log_files`. Files are added on the
|
||||
router as root:
|
||||
|
||||
```sh
|
||||
vpn-config-edit set web.log_files /var/log/syslog,/var/log/auth.log
|
||||
linux-manager-config-edit set web.log_files /var/log/syslog,/var/log/auth.log
|
||||
```
|
||||
|
||||
## Controls
|
||||
|
||||
- **Unit** or **File:** the log shown.
|
||||
- **Lines:** 100, 200, 500 or 1000 of the last lines; the router answers at most 1000 at a time,
|
||||
- **Lines:** 100, 200, 500 or 1000 of the last lines; the server answers at most 1000 at a time,
|
||||
and reads at most the last MiB of a file.
|
||||
- **Follow:** reads the log every 2 seconds and keeps the view at its last line, as `tail -f`
|
||||
does. Refresh is off meanwhile.
|
||||
- **Refresh:** reads the log again. A log is also read when the unit, the file or the number of
|
||||
lines changes.
|
||||
|
||||
Older lines stay on the router: `journalctl` and the files themselves, over SSH or the
|
||||
Older lines stay on the server: `journalctl` and the files themselves, over SSH or the
|
||||
[Shell](shell.md).
|
||||
Reference in new issue
Block a user