diff --git a/v2/pkg/runner/enumerate.go b/v2/pkg/runner/enumerate.go index 1b1ab484b..3bf7fe47b 100644 --- a/v2/pkg/runner/enumerate.go +++ b/v2/pkg/runner/enumerate.go @@ -68,7 +68,10 @@ func (r *Runner) EnumerateSingleDomainWithCtx(ctx context.Context, domain string // Log the verbose message about the found subdomain per source if _, ok := sourceMap[subdomain][result.Source]; !ok { - gologger.Verbose().Label(result.Source).Msg(subdomain) + gologger.Verbose(). + Str("subdomain_source", result.Source). + Str("subdomain", subdomain). + Msg("Found subdomain") } sourceMap[subdomain][result.Source] = struct{}{} diff --git a/v2/pkg/subscraping/sources/github/github.go b/v2/pkg/subscraping/sources/github/github.go index 85fb528a5..046d15b74 100644 --- a/v2/pkg/subscraping/sources/github/github.go +++ b/v2/pkg/subscraping/sources/github/github.go @@ -83,7 +83,9 @@ func (s *Source) enumerate(ctx context.Context, searchURL string, domainRegexp * if token.RetryAfter > 0 { if len(tokens.pool) == 1 { - gologger.Verbose().Label(s.Name()).Msgf("GitHub Search request rate limit exceeded, waiting for %d seconds before retry... \n", token.RetryAfter) + gologger.Verbose(). + Str("subdomain_source", s.Name()). + Msgf("GitHub Search request rate limit exceeded, waiting for %d seconds before retry... \n", token.RetryAfter) time.Sleep(time.Duration(token.RetryAfter) * time.Second) } else { token = tokens.Get()