Skip to content

Development: remove initial banner on Celery processes #208

Description

@humitos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ImprovementMinor improvement to code

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions