Formatting log lines.