Skip to content

Commit

Permalink
log: display current version (Cloudbox#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
l3uddz committed Apr 5, 2021
1 parent c1b4309 commit abe5d3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/autoscan/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,11 @@ func main() {
go scanStats(proc, c.ScanStats)
}

// display initialised banner
log.Info().
Str("version", fmt.Sprintf("%s (%s@%s)", Version, GitCommit, Timestamp)).
Msg("Initialised")

// processor
log.Info().Msg("Processor started")

Expand Down

0 comments on commit abe5d3a

Please sign in to comment.