Skip to content

Commit 6c511f2

Browse files
committed
Log puma to journalctl
1 parent d5a9f29 commit 6c511f2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ GEM
1414
capistrano-rvm (0.1.2)
1515
capistrano (~> 3.0)
1616
sshkit (~> 1.2)
17-
capistrano3-puma (7.0.0)
17+
capistrano3-puma (7.1.0)
1818
capistrano (~> 3.7)
1919
capistrano-bundler
2020
puma (>= 6.1, < 8.0)

config/deploy/production.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@
99
set :puma_service_unit_env_vars, %w[
1010
RUN_FILE=/home/rails/rails-master-hook/run-rails-master-hook
1111
]
12+
set :puma_access_log, "journal"
13+
set :puma_error_log, "journal"

0 commit comments

Comments
 (0)