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

Disable all logging #2902

Closed
skanti opened this issue May 5, 2024 · 1 comment
Closed

Disable all logging #2902

skanti opened this issue May 5, 2024 · 1 comment
Labels
enhancement Enhanvement request

Comments

@skanti
Copy link

skanti commented May 5, 2024

Hi,
How can I silence/disable all kinds of logging. I don't want hydra to dump anything. I can't be that it requires 4 (!) lines to mute hydra. Is there a -q flag or something similar to disable it all?

image
@skanti skanti added the enhancement Enhanvement request label May 5, 2024
@omry
Copy link
Collaborator

omry commented Jun 4, 2024

You can override those things in your primary config.

defaults:
  - override hydra/hydra_logging: disabled
  - override hydra/job_logging: disabled
 
hydra:
  run:
    dir: .
  output_subdir: null

Haven't tested it but it should have the same effect of appending those arguments.

By the way: overriding the run dir should no longer be needed in the latest version.

@omry omry closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhanvement request
Projects
None yet
Development

No branches or pull requests

2 participants