From c3e79078b319a19da89541c783f76cfca583d23d Mon Sep 17 00:00:00 2001 From: Shashank Anil Huddedar Date: Sun, 21 Jan 2024 16:08:34 +0530 Subject: [PATCH] change log level --- store/schedule.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/store/schedule.go b/store/schedule.go index fe25057..6ebd1f7 100644 --- a/store/schedule.go +++ b/store/schedule.go @@ -27,6 +27,7 @@ import ( "github.com/gocql/gocql" "github.com/golang/glog" "github.com/myntra/goscheduler/conf" + "github.com/myntra/goscheduler/constants" "github.com/myntra/goscheduler/cron" "github.com/myntra/goscheduler/util" "time" @@ -126,7 +127,7 @@ func (s Schedule) GetCallbackDetails() string { } func (s *Schedule) CreateScheduleFromCassandraMap(m map[string]interface{}) error { - glog.Infof("Map: %+v", m) + glog.V(constants.INFO).Infof("Map: %+v", m) if len(m) == 0 { return nil } @@ -358,6 +359,7 @@ func (s *Schedule) UnmarshalJSON(data []byte) error { } func (s *Schedule) ValidateSchedule(app App, conf conf.AppLevelConfiguration) []string { + glog.V(constants.INFO).Infof("ValidateSchedule: %+v", s) var errs []string if errStr := validateField(s.AppId, "appId"); errStr != "" {