Skip to content

Commit e024194

Browse files
committed
Expose the option to change the log level via ENV
1 parent 34ea0a5 commit e024194

File tree

1 file changed

+6
-0
lines changed
  • railties/lib/rails/generators/rails/app/templates/config

1 file changed

+6
-0
lines changed

railties/lib/rails/generators/rails/app/templates/config/deploy.yml.tt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ env:
4040

4141
# # Match this to any external database server to configure Active Record correctly
4242
# DB_HOST: 192.168.0.2
43+
44+
# # Log everything from Rails
45+
# RAILS_LOG_LEVEL: debug
4346
<% else -%>
4447
clear:
4548
# Run the Solid Queue Supervisor inside the web server's Puma process to do jobs.
@@ -54,6 +57,9 @@ env:
5457

5558
# Match this to any external database server to configure Active Record correctly
5659
# DB_HOST: 192.168.0.2
60+
61+
# # Log everything from Rails
62+
# RAILS_LOG_LEVEL: debug
5763
<% end -%>
5864

5965
# Aliases are triggered with "bin/kamal <alias>". You can overwrite arguments on invocation:

0 commit comments

Comments
 (0)