Closed edenisn closed 5 years ago
I tried to do something like this in Rails:
file: config/environments/development.rb
Vanity.configure do |config|
config.templates_path = 'app/views/vanity'
config.logger = Logger.new('/dev/null')
end
but it did not help
Ahhh, I found solution:
Vanity::Adapters::ActiveRecordAdapter::VanityExperiment.logger = Logger.new('/dev/null')
Good day. Can I somehow disable logs in development mode? It's very hard to find the right information in a big count of vanity logs.