Skip to content
Snippets Groups Projects
Commit 0b395723 authored by Francé Wilke's avatar Francé Wilke
Browse files

Remove unnecessary logs

parent 9fc0b76d
No related branches found
No related tags found
1 merge request!22Remove some info logs
......@@ -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
}
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment