Skip to content

Commit

Permalink
Define target path where to automatically store logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Dec 4, 2023
1 parent 1d31dcc commit b658b47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions service/lib/agama/manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ def collect_logs(path: nil)

# Whatever has to be done at the end of installation
def finish_installation
# TODO: make it optional
logs = collect_logs
logs = collect_logs(path: "/tmp/var/logs/")

logger.info("Installation logs stored in #{logs}")

Expand Down

0 comments on commit b658b47

Please sign in to comment.