logparser to nio