Update README.md
This commit is contained in:
parent
8c60f277cf
commit
0a44dba46c
20
README.md
20
README.md
|
@ -46,3 +46,23 @@ sudo ./runServer
|
|||
```
|
||||
|
||||
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
|
||||
```
|
Loading…
Reference in New Issue