From e8cc332687c3d414ee98449693f4b98507269c98 Mon Sep 17 00:00:00 2001 From: Mario Trangoni Date: Sun, 8 Mar 2020 16:26:25 +0100 Subject: [PATCH] collector/lmstat_feature_exp_linux.go: Add debug Signed-off-by: Mario Trangoni --- collector/lmstat_feature_exp_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/collector/lmstat_feature_exp_linux.go b/collector/lmstat_feature_exp_linux.go index e8a6503..6982018 100644 --- a/collector/lmstat_feature_exp_linux.go +++ b/collector/lmstat_feature_exp_linux.go @@ -59,6 +59,7 @@ func parseLmstatLicenseFeatureExpDate(outStr [][]string) map[int]*featureExp { vendorIndex = 4 } + log.Debugln(matches) // Parse date, month has to be capitalized. slice := strings.Split(matches[expIndex], "-") if len(slice) > lenghtOne {