parse common log format