diff --git a/v2/internal/runner/banner.go b/v2/internal/runner/banner.go index 36196349d..eed5277d8 100644 --- a/v2/internal/runner/banner.go +++ b/v2/internal/runner/banner.go @@ -20,6 +20,6 @@ func showBanner() { gologger.Print().Msgf("%s\n", banner) gologger.Print().Msgf("\t\tprojectdiscovery.io\n\n") - gologger.Warning().Msgf("Use with caution. You are responsible for your actions\n") - gologger.Warning().Msgf("Developers assume no liability and are not responsible for any misuse or damage.\n") + gologger.Error().Label("WRN").Msgf("Use with caution. You are responsible for your actions\n") + gologger.Error().Label("WRN").Msgf("Developers assume no liability and are not responsible for any misuse or damage.\n") } diff --git a/v2/pkg/utils/stats/stats.go b/v2/pkg/utils/stats/stats.go index 416c87fe4..45916cb1d 100644 --- a/v2/pkg/utils/stats/stats.go +++ b/v2/pkg/utils/stats/stats.go @@ -84,7 +84,7 @@ func (s *Storage) Display(name string) { if dataValue == 0 { return // don't show for nil stats } - gologger.Info().Msgf(data.description, dataValue) + gologger.Error().Label("WRN").Msgf(data.description, dataValue) } // GetValue returns the value for a set variable