jwst
jwst copied to clipboard
Logging needs to be refactored
Currently, with the way logging is implemented throughout the project, there are multiple "root" logs due to the combination of using the common convention: logging.getLogger(__name__) with the built-in logging facility of stpipe
The result is that it's very difficult to control logging settings and have those settings properly propagate down the expected/intended logging hierarchy, while also maintaining control over logging activity of "child" logs (i.e. for a single Step in a pipeline).
Relates to #4182 #3217 #2390 #3198 #2159
@stscijgbot-jp
@stscijgbot-jp
This issue is tracked on JIRA as JP-1866.
This issue is tracked on JIRA as JP-1866.
Comment by Howard Bushouse on JIRA:
David Law Yes, still relevant, but very low priority and in the category of technical debt.