Skip to content

Commit

Permalink
Pipe stderr to stdout for logging purposes. (engineyard#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoland authored and radamanthus committed Aug 6, 2017
1 parent 2b2b355 commit af25091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/eybackup_slave/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
backup_command << " -k #{key}".rstrip unless key.empty?
end

backup_command << " >> /var/log/eybackup.log"
backup_command << " >> /var/log/eybackup.log 2>&1"

# setup cronjob on db slave
cron stack do
Expand Down

0 comments on commit af25091

Please sign in to comment.