diff --git a/start.sh b/start.sh index aeb05f3..d66e5c0 100644 --- a/start.sh +++ b/start.sh @@ -1,4 +1,6 @@ #!/bin/bash echo "Démarrage du bot Discord..." -exec /app/venv/bin/python run-web.py 2>&1 | tee >(rotatelogs /app/logs/app.log.%Y%m%d-%H%M%S 50M) \ No newline at end of file +exec /app/venv/bin/python run-web.py 2>&1 | while IFS= read -r line; do + echo "$(date '+%Y-%m-%d %H:%M:%S%z') $line" | tee -a /app/logs/$(hostname).log # RFC 3339 / ISO 8601 +done \ No newline at end of file