Skip to content

Commit acc0fbd

Browse files
committed
logs
1 parent 1bf8f57 commit acc0fbd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/docs/Installation/linux.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,22 @@ To stop the `ztnet` service from starting at boot, run the following command:
9292
sudo systemctl disable ztnet
9393
```
9494

95+
## Application Logs
96+
97+
You can view the ztnet application logs using the following commands:
98+
99+
### View Live Logs
100+
To watch the logs in real-time:
101+
```bash
102+
sudo journalctl -u ztnet -f
103+
```
104+
105+
### View Recent Logs
106+
To see the most recent logs:
107+
```bash
108+
sudo journalctl -u ztnet -n 100
109+
```
110+
95111
## Testing other branches
96112
:::note
97113
Do not test in production; use a designated testing environment. Database schemas can vary between branches, and deploying a branch instead of a release may cause issues.

0 commit comments

Comments
 (0)