Skip to content

Commit

Permalink
Log to STDOUT by default in production
Browse files Browse the repository at this point in the history
  • Loading branch information
rsamoilov committed Sep 14, 2024
1 parent 06da72c commit 9bca41f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rage/templates/config-environments-production.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Rage.configure do
# Specify the number of server processes to run. Defaults to number of CPU cores.
# config.server.workers_count = ENV.fetch("WEB_CONCURRENCY", 1)
# config.server.workers_count = ENV.fetch("WEB_CONCURRENCY", 1).to_i

# Specify the port the server will listen on.
config.server.port = 3000

# Specify the logger
config.logger = Rage::Logger.new("log/production.log")
config.logger = Rage::Logger.new(STDOUT)
config.log_level = Logger::INFO
end

0 comments on commit 9bca41f

Please sign in to comment.