From 5aee070e75edc0ca5fb63305990f169cf17444af Mon Sep 17 00:00:00 2001 From: Charles Billette Date: Fri, 13 Sep 2024 09:56:24 -0400 Subject: [PATCH] Log DBT execution in `runDBT` function Added an info-level log statement to track the execution of the `dbt` command within the `runDBT` function. This helps in monitoring and debugging the DBT runs by providing visibility into when the command is initiated. --- cmd/honey-tracker/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/honey-tracker/main.go b/cmd/honey-tracker/main.go index 4caba23..945abe9 100644 --- a/cmd/honey-tracker/main.go +++ b/cmd/honey-tracker/main.go @@ -148,6 +148,7 @@ func main() { func runDBT(logger *zap.Logger) error { for { + logger.Info("running dbt") cmd := exec.Command("/usr/local/bin/dbt", "run", "--profiles-dir", "/app/hivemapper", "--project-dir", "/app/hivemapper") output, err := cmd.CombinedOutput() if err != nil {