From 68362c0a6b99d0d55bd52486f67d4ff1ec815ae7 Mon Sep 17 00:00:00 2001 From: pippellia-btc Date: Tue, 17 Jun 2025 12:28:12 +0200 Subject: [PATCH] added startup and shutdown separators --- cmd/crawler/main.go | 3 +++ cmd/sync/main.go | 3 +++ 2 files changed, 6 insertions(+) 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)