diff options
-rw-r--r-- | searchix.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/searchix.go b/searchix.go index e672bbf..cf1a429 100644 --- a/searchix.go +++ b/searchix.go @@ -113,7 +113,15 @@ func main() { } if !exists || *replace || *update { - slog.Info("Index doesn't exist. Starting build job...") + slog.Info( + "Starting build job", + "new", + !exists, + "replace", + *replace, + "update", + *update, + ) err = importer.Start(cfg, write, *replace, nil) if err != nil { log.Fatalf("Failed to build index: %v", err) |