Parse log entry