Procházet zdrojové kódy

bug fix: handling log analysis for sqlite

Steve Nyemba před 4 roky
rodič
revize
9c1adad347
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      healthcareio/healthcare-io.py

+ 2 - 0
healthcareio/healthcare-io.py

@@ -275,6 +275,8 @@ if __name__ == '__main__' :
             
             if info['store']['type'] == 'disk.SQLiteWriter' : 
                     info['store']['args']['table'] = SYS_ARGS['parse'].strip().lower()
+                    _info = json.loads(json.dumps(info['store']))
+                    _info['args']['table']='logs'
             else:
                 #
                 # if we are working with no-sql we will put the logs in it (performance )?