1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +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

@ -204,6 +204,8 @@ func (d *downloader) download(ctx context.Context, domain string) error {
// Do we need time range based filtering?
if d.cfg.Range != nil {
slog.Debug("Setting up filter to accept documents within",
"TimeRange", d.cfg.Range)
afp.AgeAccept = d.cfg.Range.Contains
}