diff --git a/README.md b/README.md index cace22f..b431392 100644 --- a/README.md +++ b/README.md @@ -45,4 +45,24 @@ To start the server sudo ./runServer ``` -Restarting the server can be done by stopping and then starting using the above commands. \ No newline at end of file +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: + +``` +sudo ./viewLog +``` + +This is simpply a wrapper for the docker command: + +``` +docker exec -it ut4hubserver cat /home/ut/LinuxServer/UnrealTournament/Saved/Logs/UnrealTournament.log +``` + +To tail the logs (to have screen refresh with any update): + +``` +docker exec -it ut4hubserver tail -F /home/ut/LinuxServer/UnrealTournament/Saved/Logs/UnrealTournament.log +``` \ No newline at end of file