1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

fix: improve logging for downloader and aggregator

* use full name for printing out the used logfile for the downloader.
 * for debug or verbose, log the timeintervall that will be used
   for downloader and aggregator. (The checker has this as part
   of its output already.)
This commit is contained in:
Bernhard Reiter 2023-10-17 11:33:03 +02:00
parent 666913e61e
commit 3923dc7044
No known key found for this signature in database
GPG key ID: 2B7BA3BF9BC3A554
3 changed files with 13 additions and 3 deletions

View file

@ -214,7 +214,7 @@ func (cfg *config) prepareLogging() error {
if err != nil {
return err
}
log.Printf("using %q for logging\n", *cfg.LogFile)
log.Printf("using %q for logging\n", fname)
w = f
}
ho := slog.HandlerOptions{