diff --git a/icshttp/handler.go b/icshttp/handler.go index 4a0c088..aa92c4e 100644 --- a/icshttp/handler.go +++ b/icshttp/handler.go @@ -258,7 +258,7 @@ func (s *ScenarioSession) BOTPFunc(w http.ResponseWriter, r *http.Request) { response.Data.RecodingFile = "" response.Data.SttMaxTime = 10 } else if request.Method != "INIT" && request.TalkText == "" { - l.Println(icslog.LOG_LEVEL_INFO, -1, "여기는 INIT 아닐 때") + l.Printf(icslog.LOG_LEVEL_INFO, -1, "여기는 INIT 아닐 때") if request.TalkText == "" { request.TalkText = "잘못된 값 입력 " } @@ -384,7 +384,7 @@ func (s *ScenarioSession) BOTPFunc(w http.ResponseWriter, r *http.Request) { s.session[token] = ResStatus{Count: 1, Status: scnarioConf[dnis][0].Action, NotUnderstand: 0, PreEventNum: 1} // s.m.Unlock() case "STT", "DTMF", "BOTH", "MEMO", "NONE": - l.Println(icslog.LOG_LEVEL_INFO, -1, "여기는 언제 타는거지지") + l.Printf(icslog.LOG_LEVEL_INFO, -1, "여기는 언제 타는거지지") response.ResultCode = 200 response.Token = request.Token if dnis == "9013" || dnis == "9014" {