Skip to content

Commit

Permalink
Ensuring that log level is set to debug.
Browse files Browse the repository at this point in the history
If set to another verbosity level, there won't be any output.
  • Loading branch information
panmari committed Sep 1, 2015
1 parent 05f3a11 commit 595f4d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/capistrano/tasks/rails_tail_log.rake
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace :rails do
desc "Tail rails logs from server"
task :tail_log do
SSHKit.config.output_verbosity = Logger::DEBUG
on roles(:app) do
execute "tail -f #{shared_path}/log/#{fetch(:rails_env)}.log"
end
Expand Down

0 comments on commit 595f4d7

Please sign in to comment.