In my production environment production.rb
. I have configured my log will be saved to file:
config.logger = Logger.new('log/production.log')
When I run locally (start server by using command line rails s -e production
). everything works fine. But when I run on docker environment, I don't see production.log
printed out.
Please help me about this problem.