mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-09-07 06:27:58 +00:00
Use rfc-2822 for log timestamp
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ function log() {
|
|||||||
shopt -u -o xtrace
|
shopt -u -o xtrace
|
||||||
|
|
||||||
if isDebugging || isTrue "${LOG_TIMESTAMP:-false}"; then
|
if isDebugging || isTrue "${LOG_TIMESTAMP:-false}"; then
|
||||||
ts=" $(date --rfc-3339=seconds)"
|
ts=" $(date --rfc-2822)"
|
||||||
else
|
else
|
||||||
ts=
|
ts=
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user