Bladeren bron

bug fix: handling log analysis for sqlite

Steve Nyemba 4 jaren geleden
bovenliggende
commit
9c1adad347
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  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 )?