refactor: reduce debug logging
Alan Pearce alan@alanpearce.eu
Fri, 17 May 2024 16:23:42 +0200
3 files changed, 0 insertions(+), 5 deletions(-)
M internal/importer/importer.go → internal/importer/importer.go
@@ -58,9 +58,7 @@ } } }() - logger.Debug("object processing", "state", "waiting") wg.Wait() - logger.Debug("object processing", "state", "complete") return hadErrors }
M internal/importer/options.go → internal/importer/options.go
@@ -98,7 +98,6 @@ defer close(results) defer close(errs) defer cancel() - slog.Debug("starting decoder stream") outer: for mv := range i.dec.Stream() { select {
M internal/importer/package.go → internal/importer/package.go
@@ -4,7 +4,6 @@ import ( "context" "encoding/json" "io" - "log/slog" "reflect" "searchix/internal/config" "searchix/internal/nix" @@ -117,7 +116,6 @@ defer close(errs) defer cancel() userRepo := i.source.Repo.Owner + "/" + i.source.Repo.Repo - slog.Debug("starting decoder stream") outer: for mv := range i.dec.Stream() { var err error