Skip to content

Commit 2bf13a8

Browse files
committed
Revert "Add logfile to celery worker and set level to INFO"
This reverts commit 52b1b26.
1 parent 3ee0cc3 commit 2bf13a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

superset/contrib/docker/docker-entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fi
3737
if [ "$#" -ne 0 ]; then
3838
exec "$@"
3939
elif [ "$SUPERSET_ENV" = "development" ]; then
40-
celery worker --app=superset.sql_lab:celery_app --logfile=/tmp/celery.log --loglevel=INFO --pool=gevent -Ofair &
40+
celery worker --app=superset.sql_lab:celery_app --pool=gevent -Ofair &
4141
# In development mode, the UI will be served by `webpack-dev-server` instead of by `Flask`
4242
# `webpack-dev-server` will serve the UI from the port 8088, and it will proxy
4343
# non-asset requests to `Flask`, wich is listening at the port 8081
@@ -46,7 +46,7 @@ elif [ "$SUPERSET_ENV" = "development" ]; then
4646
(cd superset/assets/ && npm run dev-server -- --host=0.0.0.0 --port=8088 --supersetPort=8081) &
4747
FLASK_ENV=development FLASK_APP=superset:app flask run -p 8081 --with-threads --reload --debugger --host=0.0.0.0
4848
elif [ "$SUPERSET_ENV" = "production" ]; then
49-
celery worker --app=superset.sql_lab:celery_app --logfile=/tmp/celery.log --loglevel=INFO --pool=gevent -Ofair &
49+
celery worker --app=superset.sql_lab:celery_app --pool=gevent -Ofair &
5050
gunicorn --bind 0.0.0.0:8088 \
5151
--workers $((2 * $(getconf _NPROCESSORS_ONLN) + 1)) \
5252
--timeout 300 \

0 commit comments

Comments
 (0)