Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
portusctl: read portus' logs from apache
Browse files Browse the repository at this point in the history
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
  • Loading branch information
mssola committed Jan 22, 2016
1 parent add79d7 commit 46b5f44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packaging/suse/portusctl/lib/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def logs(*args)

Runner.produce_versions_file!
Runner.produce_crono_log_file!
Runner.exec("cp", ["/var/log/apache2/error_log", File.join(PORTUS_ROOT, "log/production.log")])
Runner.tar_files("log/production.log", "log/crono.log", "log/versions.log")
end

Expand Down

0 comments on commit 46b5f44

Please sign in to comment.