process-job-source-groups.py does not pass log level or --log-file information to children
Bug #839673 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Passing -v, -q or --log-file options to process-
have little effect; only -v or nothing is passed through to child
processes.
The way c.l.scripts.logger works makes it difficult to figure out what
to pass through (-v and -q are connected to callbacks that change the
main logger's log level, so figuring out how many -v or -q flags to
pass to children requires some maths - see LogLevelNudger).
Bonus points: perhaps process-
something cleverer with log files, e.g. add the job source name as a
suffix to the log file path when spawning children.
To post a comment you must log in.