Skip to main content

Chef Supermarket Logs


[edit on GitHub]

The Chef Supermarket omnibus package does not log Ruby on Rails messages by default. To enable debug logging, edit the /opt/supermarket/embedded/service/supermarket/config/environments/production.rb file and set the config.log_level setting to :debug:

config.logger = Logger.new('/var/log/supermarket/rails/rails.log') config.logger.level = 'DEBUG' config.log_level = :debug 

Save the file, and then restart the Ruby on Rails service:

supermarket-ctl restart rails 

Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?