anaconda-project icon indicating copy to clipboard operation
anaconda-project copied to clipboard

Verbose logger only returns last logger?

Open fpliger opened this issue 7 years ago • 1 comments

verbose._verbose_logger() only returns the last logger.. but why not logging all loggers (or maybe a selective way of getting just the loggers needed?). This seems to be a potential situation where logs get trapped..

fpliger avatar Jul 05 '17 17:07 fpliger

Someone could push a logger that chains to other loggers if they wanted to, I guess?

The rationale for verbose.py is to allow the CLI frontend to set a logger for streaming verbose output. The only use case I know of right now though is for the CLI. Maybe navigator would want to set a logger too, not sure, but wouldn't be in the same process as the CLI one so it would still be only one at a time.

havocp avatar Jul 10 '17 22:07 havocp