From 2f95d56a12625a1b2a8f855eb46f3275c25f35b5 Mon Sep 17 00:00:00 2001 From: adlyq <2833154405@qq.com> Date: Sat, 23 Apr 2022 17:37:50 +0800 Subject: [PATCH] pref: uid style in log --- constant/metadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constant/metadata.go b/constant/metadata.go index 03b2dccd..fe1b7c50 100644 --- a/constant/metadata.go +++ b/constant/metadata.go @@ -102,7 +102,7 @@ func (m *Metadata) SourceDetail() string { } if m.Process != "" && m.Uid != 0 { - return fmt.Sprintf("%s(%s:%d)", m.SourceAddress(), m.Process, m.Uid) + return fmt.Sprintf("%s(%s, uid=%d)", m.SourceAddress(), m.Process, m.Uid) } else if m.Uid != 0 { return fmt.Sprintf("%s(%d)", m.SourceAddress(), m.Uid) } else if m.Process != "" {