parse log path