-
Notifications
You must be signed in to change notification settings - Fork 6
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
How to inherit hydra default logging parameters? #8
Comments
Hi @SolomidHero, As you may already know, copy a log_config.yaml, modify it, and then pass it to Have a good day. |
Thak you very much! But can I set this formatters:
simple:
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
handlers:
console:
class: logging.StreamHandler
formatter: simple
stream: ext://sys.stdout
file:
class: logging.FileHandler
formatter: simple
# absolute file path
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
root:
level: INFO
handlers: [console, file]
disable_existing_loggers: false |
Yes, you can. Both libs use the standard Except for the If you need more help, please be more specific about what have you tried, give an example of the real result, and your expectation. Have a good day |
Hi!
I love so much how this package deals with multiprocessing
I want to keep my current log settings like in facebookresearch/hydra since I adopted all logs to that format in my project.
I think about solution when
setup_logging
is used in main where hydra main config is availableThank you.
The text was updated successfully, but these errors were encountered: