mirror of
https://github.com/discourse/discourse.git
synced 2025-04-13 18:40:13 +08:00

This commit updates various spots in `config/unicorn.conf.rb` which were doing `STDERR.puts` to either use `server.logger` which is unicorn's logger or `Rails.logger` which is Rails' logger. The reason we want to do so is because `STDERR.puts` doesn't format the logs properly and is a problem especially when custom loggers with structured formatting is enabled.