commit | 6999fe5e7f477ec550cee33aa0bac3b4c51e011a | [log] [tgz] |
---|---|---|
author | Holger Hildebrandt <holger.hildebrandt@adtran.com> | Thu Feb 11 11:49:05 2021 +0000 |
committer | Holger Hildebrandt <holger.hildebrandt@adtran.com> | Thu Feb 11 12:10:04 2021 +0000 |
tree | 2eb177c1ccec72e9ba7bf6cd638e8c8bc798cd30 | |
parent | e3677f1c49f2115a6212732e252c9821b420bcd1 [diff] [blame] |
[VOL-3825] Support configuration of go profiling (pprof) Change-Id: I8c9731b420f3500b22174d1188253e7a074f2c35
diff --git a/cmd/openonu-adapter/profile.go b/cmd/openonu-adapter/profile.go index a093ee8..039c34d 100644 --- a/cmd/openonu-adapter/profile.go +++ b/cmd/openonu-adapter/profile.go
@@ -25,6 +25,7 @@ ) func realMain(ctx context.Context) { + logger.Infoln(ctx, "Start server at 0.0.0.0:6060") go func() { logger.Fatal(ctx, http.ListenAndServe("0.0.0.0:6060", nil)) }()