Skip to content

Commit 88072ec

Browse files
fix(celery): log file message
1 parent f80d13c commit 88072ec

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docker/scripts/celery-beat.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/bin/sh
22

3-
# shellcheck disable=SC2039
3+
# shellcheck disable=SC3010
44
if [[ $ENVIRONMENT == "PRODUCTION" ]]; then
55
LOGLEVEL="CRITICAL"
66
else
77
LOGLEVEL="DEBUG"
88
fi
99

10-
echo "Creating Log File"
10+
echo "Preparing Log File"
1111
if [ ! -f /var/log/celery-beat/info.log ]; then
1212
touch /var/log/celery-beat/info.log
1313
fi

docker/scripts/celery.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#!/bin/sh
22

3-
# shellcheck disable=SC2039
3+
# shellcheck disable=SC3010
44
if [[ $ENVIRONMENT == "PRODUCTION" ]]; then
55
LOGLEVEL="CRITICAL"
66
else
77
LOGLEVEL="DEBUG"
88
fi
9-
echo "Creating Log File"
9+
10+
echo "Preparing Log File"
1011
if [ ! -f /var/log/celery/info.log ]; then
1112
touch /var/log/celery/info.log
1213
fi

0 commit comments

Comments
 (0)