more improvements of logging parsing