about summary refs log tree commit diff stats
path: root/internal
diff options
context:
space:
mode:
authorAlan Pearce2024-05-17 16:23:42 +0200
committerAlan Pearce2024-05-17 16:23:42 +0200
commit8805c25adece20e4bee90faf0052804a3bfbab32 (patch)
tree7b239c0434d0eb683f1100ec455f5e03ddad640e /internal
parentd7f1d22c7b2345399fe87715aee53043563eb06c (diff)
downloadsearchix-8805c25adece20e4bee90faf0052804a3bfbab32.tar.lz
searchix-8805c25adece20e4bee90faf0052804a3bfbab32.tar.zst
searchix-8805c25adece20e4bee90faf0052804a3bfbab32.zip
refactor: reduce debug logging
Diffstat (limited to 'internal')
-rw-r--r--internal/importer/importer.go2
-rw-r--r--internal/importer/options.go1
-rw-r--r--internal/importer/package.go2
3 files changed, 0 insertions, 5 deletions
diff --git a/internal/importer/importer.go b/internal/importer/importer.go
index 57118c8..53a87c9 100644
--- a/internal/importer/importer.go
+++ b/internal/importer/importer.go
@@ -58,9 +58,7 @@ func process(
 		}
 	}()
 
-	logger.Debug("object processing", "state", "waiting")
 	wg.Wait()
-	logger.Debug("object processing", "state", "complete")
 
 	return hadErrors
 }
diff --git a/internal/importer/options.go b/internal/importer/options.go
index 0aadc50..1247681 100644
--- a/internal/importer/options.go
+++ b/internal/importer/options.go
@@ -98,7 +98,6 @@ func (i *OptionIngester) Process(parent context.Context) (<-chan nix.Importable,
 		defer close(errs)
 		defer cancel()
 
-		slog.Debug("starting decoder stream")
 	outer:
 		for mv := range i.dec.Stream() {
 			select {
diff --git a/internal/importer/package.go b/internal/importer/package.go
index a1a6c67..4e006cb 100644
--- a/internal/importer/package.go
+++ b/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 @@ func (i *PackageIngester) Process(parent context.Context) (<-chan nix.Importable
 		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