diff --git a/handler_utils/cron.go b/handler_utils/cron.go index 8fbd9b3aa1dd929fbfc3f17ee974a0df1739f879..60842798d98e15ce47f6c685a15f83fff064c0f8 100644 --- a/handler_utils/cron.go +++ b/handler_utils/cron.go @@ -2,7 +2,6 @@ package handler_utils import ( "gitlab.com/uafrica/go-utils/errors" - "gitlab.com/uafrica/go-utils/logs" ) // ValidateCronHandlers checks that all handlers are correctly defined using one of the supported handler types @@ -18,6 +17,5 @@ func ValidateCronHandlers(handlers map[string]func() error) (map[string]func() e } countHandler++ } - logs.Info("Checked %d handlers\n", countHandler) return handlers, nil } diff --git a/handler_utils/sqs.go b/handler_utils/sqs.go index 4fd0727e286973fa6498cae28ce49a7de16d4494..8d08dd913355f93e06682b57aa0f41defbb5e0f2 100644 --- a/handler_utils/sqs.go +++ b/handler_utils/sqs.go @@ -4,7 +4,6 @@ import ( "encoding/json" "github.com/aws/aws-lambda-go/events" "gitlab.com/uafrica/go-utils/errors" - "gitlab.com/uafrica/go-utils/logs" "gitlab.com/uafrica/go-utils/s3" "gitlab.com/uafrica/go-utils/sqs" "reflect" @@ -27,7 +26,6 @@ func ValidateSQSEndpoints(endpoints map[string]interface{}) (map[string]interfac } // replace the endpoint value so we can quickly call this handler endpoints[messageType] = handler - logs.Info("%s: OK (request: %v)\n", messageType, handler.RecordType) } return endpoints, nil }