Skip to content

Instantly share code, notes, and snippets.

@anolson
Created November 12, 2014 19:28
Show Gist options
  • Save anolson/d1197de9a5c71ae99035 to your computer and use it in GitHub Desktop.
Save anolson/d1197de9a5c71ae99035 to your computer and use it in GitHub Desktop.
Debug rails asset pipeline.
module Sprockets
class Manifest
def logger_with_debug
logger_without_debug.tap do |logger|
logger.level = Logger::DEBUG
end
end
alias_method_chain :logger, :debug
end
end
@anolson
Copy link
Author

anolson commented Nov 12, 2014

There's supposedly a way of configuring the log level, but I couldn't get that to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment