collectfast icon indicating copy to clipboard operation
collectfast copied to clipboard

Management command should lower log level pending verbosity

Open ghost opened this issue 6 years ago • 1 comments

There's an informational logging message in the etag implementation: https://github.com/antonagestam/collectfast/blob/8bcdd77819d9c950bf4760ce6423da1a82cea579/collectfast/etag.py#L120

This is shown if collectstatic is run with verbosity 0 and should not be. This can be fixed in the management command by using logging.disable() if verbosity is zero.

ghost avatar Jul 07 '19 17:07 ghost

Logging needs a major overhaul. The management command needs to somehow be setup so that loggers in other modules uses the management command logging facilities.

antonagestam avatar Oct 06 '19 11:10 antonagestam