antonagestam/collectfast

Management command should lower log level pending verbosity

Opened this issue · 1 comments

There's an informational logging message in the etag implementation:

logger.info("%s: Hashes did not match" % path)

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.

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.