log-session-id-at-sessionid #251
Reference in New Issue
Block a user
Delete Branch "log-session-id-at-sessionid"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Makes session id(phone number ) and africastalking session id available in the logs.
Resolves:
#240
I thought we were going to make a logging wrapper as a separate package?
e.g. something like (not tested):
@@ -11,3 +11,3 @@var (logg = logging.NewVanilla().WithDomain("atserver")logg = logging.NewVanilla().WithDomain("atserver").WithContextKey("AT-SessionId")We will need both SessionId and AT-Sessionid in the AT part, otherwise SessionId will not be logged.
let's push logging instance to later, put in issue: #252
so let's just make sure we have sessionid everywhere.
@@ -11,3 +11,3 @@var (logg = logging.NewVanilla().WithDomain("httpserver")logg = logging.NewVanilla().WithDomain("httpserver").WithContextKey("at-session-id")And then this is wrong..