From 678b90385b36334cb77cffe50e965b0ff13e7ee7 Mon Sep 17 00:00:00 2001 From: jianzhiyao Date: Tue, 14 Jul 2020 09:57:13 +0800 Subject: [PATCH] add log --- session/sess_file.go | 1 + 1 file changed, 1 insertion(+) diff --git a/session/sess_file.go b/session/sess_file.go index f7a739cc..47ad54a7 100644 --- a/session/sess_file.go +++ b/session/sess_file.go @@ -181,6 +181,7 @@ func (fp *FileProvider) SessionExist(sid string) bool { defer filepder.lock.Unlock() if len(sid) < 2 { + SLogger.Println("min length of session id is 2", sid) return false }