[#282] added the "real" user ip to the logs

This commit is contained in:
Gani Georgiev
2022-08-18 15:27:45 +03:00
parent 9bf66be870
commit cfaff31d97
19 changed files with 241 additions and 146 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ type Request struct {
Method string `db:"method" json:"method"`
Status int `db:"status" json:"status"`
Auth string `db:"auth" json:"auth"`
Ip string `db:"ip" json:"ip"`
UserIp string `db:"userIp" json:"userIp"`
RemoteIp string `db:"remoteIp" json:"remoteIp"`
Referer string `db:"referer" json:"referer"`
UserAgent string `db:"userAgent" json:"userAgent"`
Meta types.JsonMap `db:"meta" json:"meta"`