add debug log

This commit is contained in:
UlricQin 2020-05-12 11:40:30 +08:00
parent 9264aa6293
commit 857b905934
1 changed files with 3 additions and 0 deletions

View File

@ -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 {