mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 16:13:47 +01:00
logging improvements {for operational reasons} (#50)
This commit is contained in:
parent
9cf3cf6f05
commit
4b77fa785b
@ -68,5 +68,7 @@ func (self *createAccountHandler) Handle(params identity.CreateAccountParams) mi
|
||||
return identity.NewCreateAccountInternalServerError().WithPayload(rest_model_zrok.ErrorMessage(err.Error()))
|
||||
}
|
||||
|
||||
logrus.Infof("account request for '%v' has registration token '%v'", params.Body.Email, ar.Token)
|
||||
|
||||
return identity.NewCreateAccountCreated()
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ func newVerifyHandler(cfg *Config) *verifyHandler {
|
||||
|
||||
func (self *verifyHandler) Handle(params identity.VerifyParams) middleware.Responder {
|
||||
if params.Body != nil {
|
||||
logrus.Infof("received verify request for token '%v'", params.Body.Token)
|
||||
logrus.Debugf("received verify request for token '%v'", params.Body.Token)
|
||||
tx, err := str.Begin()
|
||||
if err != nil {
|
||||
logrus.Errorf("error starting transaction: %v", err)
|
||||
|
Loading…
Reference in New Issue
Block a user