logging
This commit is contained in:
parent
471312735d
commit
27ae6f2013
|
@ -200,7 +200,7 @@ func LoginHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
httpSession.Save(r, w)
|
httpSession.Save(r, w)
|
||||||
|
|
||||||
logger.Infof("Created a HTTP session [%s] for user [%s]", httpSession.Values["id"].(string), args.Username)
|
logger.Debugf("Created a HTTP session [%s] for user [%s]", httpSession.Values["id"].(string), args.Username)
|
||||||
}
|
}
|
||||||
|
|
||||||
// LogoutHandler handles request of user logout (exit).
|
// LogoutHandler handles request of user logout (exit).
|
||||||
|
|
Loading…
Reference in New Issue