Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
gravity-system.log.gz -> gravity-journal.log.gz
Browse files Browse the repository at this point in the history
There is already a gravity-system file. Conflict occurs when trying to
unzip gravity-system.log.gz.
  • Loading branch information
bernardjkim committed Jun 18, 2020
1 parent 2e96376 commit f57bd02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/report/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func syslogExportLogs(since time.Duration) Collector {
script = script + fmt.Sprintf(`--since="%s" `, time.Now().Add(-since).Format(JournalDateFormat))
}
script = script + "| /bin/gzip -f"
return Script("gravity-system.log.gz", script)
return Script("gravity-journal.log.gz", script)
}

// systemFileLogs fetches gravity platform-related logs
Expand Down

0 comments on commit f57bd02

Please sign in to comment.