From 857b9059346e15cded8623e506abe587c84e4873 Mon Sep 17 00:00:00 2001 From: UlricQin Date: Tue, 12 May 2020 11:40:30 +0800 Subject: [PATCH] add debug log --- src/modules/collector/sys/plugins/scheduler.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/collector/sys/plugins/scheduler.go b/src/modules/collector/sys/plugins/scheduler.go index 84777948..34720156 100644 --- a/src/modules/collector/sys/plugins/scheduler.go +++ b/src/modules/collector/sys/plugins/scheduler.go @@ -103,6 +103,9 @@ func PluginRun(plugin *Plugin) { return } + logger.Debug(fpath, "stdout:") + logger.Debug(string(data)) + var items []*dataobj.MetricValue err = json.Unmarshal(data, &items) if err != nil {