You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/Installation/linux.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,22 @@ To stop the `ztnet` service from starting at boot, run the following command:
92
92
sudo systemctl disable ztnet
93
93
```
94
94
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
+
95
111
## Testing other branches
96
112
:::note
97
113
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