From 98d05a6d0ad17c237214adaa95958ab0091dc93d Mon Sep 17 00:00:00 2001 From: Paul Norton Date: Mon, 26 Feb 2024 10:22:26 -0500 Subject: [PATCH] enable logging for sync request now that sync request evaluations happen in the skills platform and not locally, we should re-enable full logging to have visibility into failures --- log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.go b/log.go index a41d7a4..181fc8f 100644 --- a/log.go +++ b/log.go @@ -110,7 +110,7 @@ func createLogger(ctx context.Context, event EventIncoming) Logger { var doLog = func(msg string, level edn.Keyword) { // Don't send logs when evaluating policies locally - if os.Getenv("SCOUT_LOCAL_POLICY_EVALUATION") == "true" || event.Type == "sync-request" { + if os.Getenv("SCOUT_LOCAL_POLICY_EVALUATION") == "true" { return } bs, err := edn.MarshalPPrint(internal.LogBody{Logs: []internal.LogEntry{{