fix(pkg/logfile): use one instead of several logfiles for all measured values
This commit is contained in:
10 files changed
+67
-100
No files matched your search
@@ -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