Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development: remove initial banner on Celery processes #208

Open
humitos opened this issue Mar 6, 2024 · 0 comments
Open

Development: remove initial banner on Celery processes #208

humitos opened this issue Mar 6, 2024 · 0 comments
Labels
Improvement Minor improvement to code

Comments

@humitos
Copy link
Member

humitos commented Mar 6, 2024

I found there is an option to remove the initial banner in Celery, but I'm not sure how to pass that argument. See celery/celery#3496

build_1        | Please specify a different user using the --uid option.
build_1        | 
build_1        | User information: uid=0 euid=0 gid=0 egid=0
build_1        | 
build_1        |   warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format(
build_1        |  
build_1        |  -------------- celery@2bc10ea96dd8 v5.2.7 (dawn-chorus)
build_1        | --- ***** ----- 
build_1        | -- ******* ---- Linux-6.6.18-1-lts-x86_64-with-glibc2.35 2024-03-06 15:33:00
build_1        | - *** --- * --- 
build_1        | - ** ---------- [config]
build_1        | - ** ---------- .> app:         readthedocs:0x709d4266b640
build_1        | - ** ---------- .> transport:   redis://:**@cache:6379/0
build_1        | - ** ---------- .> results:     disabled://
build_1        | - *** --- * --- .> concurrency: 1 (prefork)
build_1        | -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
build_1        | --- ***** ----- 
build_1        |  -------------- [queues]
build_1        |                 .> build01          exchange=build01(direct) key=build01
build_1        |                 .> build:default    exchange=build:default(direct) key=build:default
build_1        |                 .> build:large      exchange=build:large(direct) key=build:large
build_1        |                 .> builder          exchange=builder(direct) key=builder
build_1        |                 .> celery           exchange=celery(direct) key=celery
build_1        |                 .> default          exchange=default(direct) key=default
build_1        |

It's a little tedious to see this message over and over again each time you modify a file when working locally.

@humitos humitos added the Improvement Minor improvement to code label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Minor improvement to code
Projects
None yet
Development

No branches or pull requests

1 participant