remove error log handling

This commit is contained in:
Thomas Rudin 2020-01-15 15:35:26 +01:00
parent 30ac6161de
commit 505d2300fa
2 changed files with 0 additions and 9 deletions

View File

@ -4,12 +4,6 @@
crond -f & crond -f &
crond_pid=$! crond_pid=$!
if [ -f "$DEBUG_LOG" ]
then
echo "Following debug.txt"
tail -f $DEBUG_LOG | grep 'ERROR\[Main\]' >> $ERROR_LOG_OUTPUT &
fi
while `true` while `true`
do do
sleep 3600 sleep 3600

View File

@ -8,7 +8,6 @@ state: WIP
Manages: Manages:
* worldmod updates (if a submodule-repo is used) * worldmod updates (if a submodule-repo is used)
* media generation * media generation
* error log publish
* logrotate * logrotate
# Environment variables # Environment variables
@ -19,7 +18,6 @@ Manages:
* **MEDIADIR** directory for media assets (optional) * **MEDIADIR** directory for media assets (optional)
* **DEBUG_LOG** path to the debug log (optional) * **DEBUG_LOG** path to the debug log (optional)
* **ERROR_LOG_OUTPUT** output file of the error log (optional)
# Usage # Usage
@ -32,7 +30,6 @@ docker run \
-e WORLDMODS_BRANCH=master \ -e WORLDMODS_BRANCH=master \
-e MEDIADIR=/html \ -e MEDIADIR=/html \
-e DEBUG_LOG=/logs/debug.log \ -e DEBUG_LOG=/logs/debug.log \
-e ERROR_LOG_OUTPUT=/logs/error.log \
buckaroobanzay/minetest_manager buckaroobanzay/minetest_manager
``` ```