model-writtenrun 5426 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Davis proposed exporting log_line_prefix() so emit_log_hook implementations could compute the standard log prefix #1.
- Michael Paquier supported exposing the routine and asked for a concrete use case; Jeff explained that an external-system log format needed to preserve the original textual prefix, which CSV or JSON output would require reconstructing #2 #3.
- Alvaro Herrera suggested accepting a format argument so hooks could choose a prefix independently of the global setting, and Michael endorsed that change #4 #5.
- Jeff's final submission implemented that suggestion by exporting log_status_format() and retaining log_line_prefix() as a thin wrapper, leaving the revised patch awaiting commitment at the end of the supplied discussion #6.
- Jeff subsequently committed the revised patch with only const qualification and declaration formatting changes, crediting Michael and Alvaro as reviewers #6 b40baa96a7.