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

Customizable worker log level in Dallinger #6366

Open
fmhoeger opened this issue Mar 28, 2024 · 0 comments · May be fixed by #6408
Open

Customizable worker log level in Dallinger #6366

fmhoeger opened this issue Mar 28, 2024 · 0 comments · May be fixed by #6408
Assignees

Comments

@fmhoeger
Copy link
Collaborator

fmhoeger commented Mar 28, 2024

Currently the log level for the Dallinger worker process is hard-coded to 'WARN' in dallinger_scripts/worker.py.

    log_level = os.environ.get("loglevel", "WARN")

The proposal is to make a new config variable called loglevel_worker (compare with the pre-existing loglevel config variable) which defaults to 2 (i.e. WARN) to preserve pre-existing functionality but can be customised (e.g. in PsyNet) to set it to a more sensible 0 (i.e. DEBUG).

@fmhoeger fmhoeger self-assigned this Mar 28, 2024
@fmhoeger fmhoeger linked a pull request Apr 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant