Update README.md

This commit is contained in:
basshound 2024-05-01 20:38:48 +00:00
parent 8c60f277cf
commit 0a44dba46c
1 changed files with 21 additions and 1 deletions

View File

@ -46,3 +46,23 @@ sudo ./runServer
``` ```
Restarting the server can be done by stopping and then starting using the above commands. Restarting the server can be done by stopping and then starting using the above commands.
# Viewing Logs
You can view a simple output of the log file by running:
```<language>
sudo ./viewLog
```
This is simpply a wrapper for the docker command:
```<language>
docker exec -it ut4hubserver cat /home/ut/LinuxServer/UnrealTournament/Saved/Logs/UnrealTournament.log
```
To tail the logs (to have screen refresh with any update):
```<language>
docker exec -it ut4hubserver tail -F /home/ut/LinuxServer/UnrealTournament/Saved/Logs/UnrealTournament.log
```