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

Give an example on changing the log level #1056

Closed
mfeurer opened this issue Jan 15, 2021 · 4 comments
Closed

Give an example on changing the log level #1056

mfeurer opened this issue Jan 15, 2021 · 4 comments
Labels
documentation Something to be documented

Comments

@mfeurer
Copy link
Contributor

mfeurer commented Jan 15, 2021

No description provided.

@mfeurer mfeurer added help wanted documentation Something to be documented labels Jan 15, 2021
@1nF0rmed
Copy link

1nF0rmed commented Feb 6, 2021

Should I create another directory in auto-sklearn/examples and add the example there?

@mfeurer
Copy link
Contributor Author

mfeurer commented Feb 6, 2021

No, please create a new example 40_advanced

@mfeurer
Copy link
Contributor Author

mfeurer commented Mar 26, 2021

Hey @1nF0rmed any progress on your side?

@rsazima
Copy link

rsazima commented Apr 21, 2021

This worked to disable the annoying py4j.java_gateway INFO msgs:

# https://docs.python.org/3/library/logging.config.html
# https://docs.python.org/3/howto/logging-cookbook.html
import logging.config

# https://github.com/automl/auto-sklearn/blob/master/autosklearn/util/logging.yaml
config = {
  "version": 1,
  "incremental": True,
  "loggers": {
    "py4j.java_gateway": {"level": "WARNING"}
  }
}

logging.config.dictConfig(config)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Something to be documented
Projects
None yet
Development

No branches or pull requests

3 participants