Skip to content

Commit 67e6424

Browse files
committed
fix: Use tee only to append to logs
1 parent b8d444a commit 67e6424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LOG_FILE=/ebs/logs/enigma.log
44
CONTAINER_HASH=$(echo $RANDOM | md5sum | head -c 20)
55

66
function log() {
7-
echo "$(date): $CONTAINER_HASH $@" 2>&1 | tee $LOG_FILE
7+
echo "$(date): $CONTAINER_HASH $@" 2>&1 | tee -a $LOG_FILE
88
}
99

1010
function prepend() {

0 commit comments

Comments
 (0)