fix(pkg/logfile): use one instead of several logfiles for all measured values
This commit is contained in:
		| @@ -33,7 +33,7 @@ func Start(cnf *config.Configuration, cleanCacheInterval time.Duration, compress | ||||
| 	ctx := context.Background() | ||||
| 	childContext, cancel := context.WithCancel(ctx) | ||||
|  | ||||
| 	logfile := logfile.New(cnf.Device.TemperatureLogfile) | ||||
| 	logfile := logfile.New(cnf.Device.Logfile) | ||||
|  | ||||
| 	measuredValuesCache := make([]types.MeasuredValue, 0) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user