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
[Bug] adding ColorLog override will disable other overrides #1706
Comments
Hi @NinjaAtWork I created this repro based on the info provided. This does look like a bug - I could reproduce your example locally. If we run without
|
Hi @jieru-hu adding |
Hi @NinjaAtWork Do you mean you want to have both colorlog and somehow also follow this example? If so, you can certainly create your own logging configuration. You can extend the Here is the documentation on how to extend a plugin config https://hydra.cc/docs/patterns/configuring_plugins#extending-plugin-default-config |
@jieru-hu The desired behavior is that both cases should look like the first defaults tree, right? I'm going to start working on a fix for this soon (unless you've already got work in progress :) ). |
Yes, I think this is what I would expect in this situation for the user's config section:
|
my custom job logging as you mentioned but this will disable the color effect :
i think this will be linked with that minor bug of override. ill wait for new update and try this again. :) |
@NinjaAtWork I'm not sure if this is related to this particular bug. You overrides actually disable the colorlog, in particular this line
I've verified this by copy pasting your config and update |
@jieru-hu
|
Hi
here i follow the basic tutorial and experiment section :
main.py:
config.yaml:
segment/color.yaml :
color_num=1
segment/color2.yaml :
color_num=10
experiment/test.yaml :
running the
:\python main.py +experiment=test
will return
volume:9999
BUT while un-commenting colorlog override in config.yaml the volume returned will be
volume:1
why adding colorlog impact the other config ?
btw the colorlog do his job and the colorizing the output
thanks
The text was updated successfully, but these errors were encountered: