Hello David Kimura and thanks for the video, I use Kamal 2 to deploy my app to digital ocean. I also keep the logs in the server. Since kamal uses docker and Docker logs capture all the output from the processes running inside a Docker container including rails logs (correct me if I am wrong). Is there a point doing this in our production.rb :
config.logger = ActiveSupport::Logger.new("log/production.log", 5, 50.megabytes) or we should do something like this in our production.rb file config.logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT)) and in Docker Configuration (in /etc/docker/daemon.json): { "log-driver": "json-file", "log-opts": { "max-size": "50m", "max-file": "5" } }