Change debug printing to log filename
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Sun, 7 Apr 2024 22:24:20 +0000 (00:24 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Sun, 7 Apr 2024 22:24:20 +0000 (00:24 +0200)
commit75a47b6a0dc4a235307e1acd1a6b3845cb881e55
treedfdef4c6b828ed09fca16f3d888dd9c90b11a202
parent626603d46337ee331d7616b34ae539b1195556a7
Change debug printing to log filename

When restarting the cluster fails the code introduced in 33774978c78
printed the full log contents to aid debugging.  For cases when the
logfile is large this adds unnecessary overhead.  Reduce to printing
the logfile path instead.

Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20240406214439.2n4zf2w7ukhf7dsy@awork3.anarazel.de
src/test/perl/PostgreSQL/Test/Cluster.pm