rails/rails — comment on commit 5b9a506ef6b72c93901e94a0f738c1991f8d5852
File:  line 0
By j-manu:

*env.logger = config.assets.logger || ::Rails.logger* is sufficient to disable sprockets logging as the logger can be set to *Logger.new '/dev/null'* or a logger with higher level. This will also make the config.assets.logger setting behave exactly like config.logger setting i.e nil or false will use the default logger.