diff --git a/cmd/crawler/main.go b/cmd/crawler/main.go index c10d6f8..8f3f106 100644 --- a/cmd/crawler/main.go +++ b/cmd/crawler/main.go @@ -30,6 +30,9 @@ func main() { defer cancel() go pipe.HandleSignals(cancel) + log.Printf("---------starting up the crawler --------") + defer log.Printf("-----------------------------------------") + config, err := config.Load() if err != nil { panic(err) diff --git a/cmd/sync/main.go b/cmd/sync/main.go index cd890ef..923d196 100644 --- a/cmd/sync/main.go +++ b/cmd/sync/main.go @@ -29,6 +29,9 @@ func main() { defer cancel() go pipe.HandleSignals(cancel) + log.Printf("---------starting up the crawler --------") + defer log.Printf("-----------------------------------------") + config, err := config.Load() if err != nil { panic(err)