From 4221f6eabb4c8374e739a36788c64092aca0278b Mon Sep 17 00:00:00 2001 From: Qing Hao Date: Tue, 25 Jun 2024 11:05:52 +0800 Subject: [PATCH] enable log flags for placement (#540) Signed-off-by: haoqing0110 --- cmd/placement/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/placement/main.go b/cmd/placement/main.go index 15e00bbd4..6012abbc0 100644 --- a/cmd/placement/main.go +++ b/cmd/placement/main.go @@ -22,6 +22,7 @@ func main() { pflag.CommandLine.SetNormalizeFunc(utilflag.WordSepNormalizeFunc) pflag.CommandLine.AddGoFlagSet(goflag.CommandLine) + logs.AddFlags(pflag.CommandLine) logs.InitLogs() defer logs.FlushLogs()