Closed busma13 closed 10 months ago
There's not a whole lot of code here, but since it cross cuts packages and schemas and things we might ask for @jsnoble's input.
I added an explanatory comment on each of the constructors that overwrites the log level. I also confirmed that the log_level indicated in the job is written to a log file (all log streams are overwritten with new log level).
This PR adds the
log_level
parameter to a teraslice job.loglevels
fromutils/src/Logger
log_level
tojob-components/src/job-schema
Worker
andExecutionController
constructors, use the log level from theexecutionContext
to set the log level ofcontext.logger
before it is used to create a new child logger.Worker
andExecutionController
instances.Ref: #3498