You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run using the confg file: deepaas-run --config-file deepaas.conf
Expected behavior:
When calling predict / train method, debug information should be printed.
(like in ´get_metadata`)
Actual behavior
Only logger print levels higher or equal than WARN are printed on predict / train method.
Versions
$ deepaas-run --version
2.1.0
Extra information
I see the functions predict and train are executed by workers. However, the logger level at those workers seems to not be inherited from the original logger level.
The text was updated successfully, but these errors were encountered:
@IgnacioHeredia, I think this issue is related to what we spoke today. I was testing with @vykozlov and there might be a race condition somewhere:
Starting with --debug and no config, prints debug info at the beginning but not from methods.
Starting without --debug but config, does not print debug at the beginning but does for methods.
Also, when I created this issue, I was testing with the config and not with --debug, it might happen that aiohttp does not propagate logger to workers if arg --debug is not set? Not sure how much is worth value to investigate if a new version is comming with different web framework.
Description
Logger output on
predict
andtrain
functions with lower level than WARN is not printed on stderr.Steps to Reproduce
/deepaas.conf
):deepaas-run --config-file deepaas.conf
Expected behavior:
When calling
predict
/train
method, debug information should be printed.(like in ´get_metadata`)
Actual behavior
Only logger print levels higher or equal than WARN are printed on
predict
/train
method.Versions
Extra information
I see the functions
predict
andtrain
are executed by workers. However, the logger level at those workers seems to not be inherited from the original logger level.The text was updated successfully, but these errors were encountered: