mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 01:46:10 -04:00
Updated log date format
This commit is contained in:
@@ -288,7 +288,7 @@ function log {(
|
|||||||
while read -r
|
while read -r
|
||||||
do
|
do
|
||||||
# shellcheck disable=2046
|
# shellcheck disable=2046
|
||||||
echo $(date +"%Y-%-m-%-d %H:%M:%S.%1N")"|[$striptracks_pid]$REPLY" >>"$striptracks_log"
|
echo $(date +"%Y-%m-%d %H:%M:%S.%1N")"|[$striptracks_pid]$REPLY" >>"$striptracks_log"
|
||||||
local striptracks_filesize=$(stat -c %s "$striptracks_log")
|
local striptracks_filesize=$(stat -c %s "$striptracks_log")
|
||||||
if [ $striptracks_filesize -gt $striptracks_maxlogsize ]
|
if [ $striptracks_filesize -gt $striptracks_maxlogsize ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user