Update README.md
This commit is contained in:
parent
8c60f277cf
commit
0a44dba46c
22
README.md
22
README.md
|
@ -45,4 +45,24 @@ To start the server
|
||||||
sudo ./runServer
|
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
|
||||||
|
```
|
Loading…
Reference in New Issue