In my config/environments/production.rb, I have the following:
config.logger = Logger.new("log/production.log", 10, 1000.megabytes)
config.log_formatter = ::Logger::Formatter.new
Let's suppose I never ever write to this log/production.log anywhere in my code. However, I have another process (say a Java process) that writes to this same log file. Assuming Rails is up and running, will Rails automatically do the autorotation, even if Rails never writes to this log file?