Explorar el Código

bug fix: handling log analysis for sqlite

Steve Nyemba hace 4 años
padre
commit
9c1adad347
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 )?