logpath added