Browse Source

fix:增加stl执行代码日志

zqbao 3 months ago
parent
commit
b4210414b0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      services/data/stl/stl.go

+ 1 - 0
services/data/stl/stl.go

@@ -509,6 +509,7 @@ print(output)
 	}
 
 	pythonCode = fmt.Sprintf(pythonCode, path, period, seasonal, trend, fraction, seasonalDeg, trendDeg, lowPassDeg, robustStr, toPath)
+	utils.FileLog.Info("stl exec python code:%s", pythonCode)
 	cmd := exec.Command(`python3`, "-c", pythonCode)
 	output, err := cmd.CombinedOutput()
 	if err != nil {