diff options
-rw-r--r-- | internal/server/server.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/server/server.go b/internal/server/server.go index db40e6f..b794f05 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -87,8 +87,9 @@ var sourceFileName = map[string]string{ func makeIndex(source string, filename string) { var err error - log.Printf("loading %s index", source) + slog.Info("loading index", "index", source) index[source], err = search.New(filename) + slog.Info("loaded index", "index", source) if err != nil { log.Fatalf("could not build search index, error: %#v", err) } |