Skip to content

Commit

Permalink
Disable Puma stdout/stderr redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
mpass99 authored and MrSerth committed Oct 1, 2024
1 parent 9465072 commit e3a2f98
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@
# Disable automatic tagging of the service.
tag ''

# Specifies the output redirection that Puma will use.
# Params: stdout, stderr, append?
stdout_redirect 'log/puma_access.log', 'log/puma_error.log', true if %w[production staging].include? ENV['RAILS_ENV']

# Before performing a hot restart (not on phased restarts), send another watchdog message
# TODO: Consider `on_booted` as well, which currently breaks with Pumactl.
on_restart do
Expand Down

0 comments on commit e3a2f98

Please sign in to comment.