workload-collocation-agent icon indicating copy to clipboard operation
workload-collocation-agent copied to clipboard

Improper loggers configuration precedence.

Open ppalucki opened this issue 5 years ago • 2 comments

Describe the bug Command line loggers configuration is overwritten by values from config file.

To Reproduce Run wca with loggers from command line --log trace and configure loggers in config file like this

loggers:
  wca: info

Info level is set for all loggers - contrary to to what docs says https://github.com/intel/workload-collocation-agent/blob/master/docs/logging.rst#wca-logging-configuration

Expected behavior Trace logging will be enabled as described in docs.

Context:

  • All versions are affected.

fix here: https://github.com/intel/workload-collocation-agent/pull/321/commits/985ed5fc546b750ec53b6381da996e3069f4a543

(need to be backported to master/1.0.x)

ppalucki avatar Nov 26 '19 13:11 ppalucki

we need another fix from this https://github.com/intel/workload-collocation-agent/pull/328/commits/588316e4497f20e5a8346493dd68b30a0b89bbe3

ppalucki avatar Dec 02 '19 18:12 ppalucki

backported to 1.0.x but not yet released as new version!

ppalucki avatar Dec 17 '19 09:12 ppalucki