改进细节

This commit is contained in:
刘祥超
2021-08-15 10:39:41 +08:00
parent 71d2671c04
commit 350b514fc7
3 changed files with 19 additions and 8 deletions

View File

@@ -90,7 +90,7 @@ func (this *HTTPAccessLogDAO) CreateHTTPAccessLogsWithDAO(tx *dbs.Tx, daoWrapper
// TODO 根据集群、服务设置获取IP
if tableDef.HasRemoteAddr {
fields["remoteAddr"] = accessLog.RawRemoteAddr
fields["remoteAddr"] = accessLog.RemoteAddr
}
if tableDef.HasDomain {
fields["domain"] = accessLog.Host