Parcourir la source

Daemon: debug logs entfernt

Christian Kahlau il y a 3 ans
Parent
commit
4a2a4eb491
1 fichiers modifiés avec 0 ajouts et 3 suppressions
  1. 0 3
      daemon/src/collector.class.ts

+ 0 - 3
daemon/src/collector.class.ts

@@ -186,15 +186,12 @@ export class Collector {
               if (cur.hdd && Object.keys(cur.hdd).length) {
                 const hdd_sums = res.hdd ?? {};
                 res.hdd = Object.keys(cur.hdd).reduce((res_hdd, mount) => {
-                  Logger.debug('[DEBUG] Drive Data', cur.time, mount, JSON.stringify(cur.hdd[mount]));
                   if (!res_hdd[mount]) {
-                    Logger.debug('[DEBUG] --- NEW SUMS', mount, ' ---');
                     res_hdd[mount] = { sum: 0, peak: 0, max: 0 };
                   }
                   res_hdd[mount].sum += cur.hdd[mount].used;
                   res_hdd[mount].peak = Math.max(res_hdd[mount].peak, cur.hdd[mount].used);
                   res_hdd[mount].max = cur.hdd[mount].max;
-                  Logger.debug('[DEBUG] Drive Sums', cur.time, mount, JSON.stringify(res_hdd[mount]));
                   return res_hdd;
                 }, hdd_sums);
               }