[#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
Binary file not shown.
+4 -1
View File
@@ -10,7 +10,8 @@ func MockRequestLogsData(app *TestApp) error {
[[method]],
[[status]],
[[auth]],
[[ip]],
[[userIp]],
[[remoteIp]],
[[referer]],
[[userAgent]],
[[meta]],
@@ -25,6 +26,7 @@ func MockRequestLogsData(app *TestApp) error {
200,
"guest",
"127.0.0.1",
"127.0.0.1",
"",
"",
"{}",
@@ -38,6 +40,7 @@ func MockRequestLogsData(app *TestApp) error {
400,
"admin",
"127.0.0.1",
"127.0.0.1",
"",
"",
'{"errorDetails":"error_details..."}',