Putting kerberos/ldap logs somewhere useful

Started by Tom Laneover 6 years ago2 messageshackers
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

I got frustrated just now because this:

https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2019-08-05%2021%3A18%3A23

is essentially undebuggable, thanks to the buildfarm's failure to
capture any error output from slapd. That's not the buildfarm
script's fault: it's willing to capture everything placed in the
agreed-on log directory. But the TAP test script randomly places
the daemon's log file somewhere else, one level up. The kerberos
test script has the same problem.

Hence, I propose the attached. This just moves the actual log
files ... we could possibly move the daemons' .conf files as well,
but I think they're probably not variable enough to be interesting.

regards, tom lane

Attachments:

put-krb-and-ldap-logs-somewhere-useful.patchtext/x-diff; charset=us-ascii; name=put-krb-and-ldap-logs-somewhere-useful.patchDownload+3-3
#2Michael Paquier
michael@paquier.xyz
In reply to: Tom Lane (#1)
Re: Putting kerberos/ldap logs somewhere useful

On Mon, Aug 05, 2019 at 07:26:45PM -0400, Tom Lane wrote:

Hence, I propose the attached. This just moves the actual log
files ...

+1 for this. The patch looks good.

we could possibly move the daemons' .conf files as well,
but I think they're probably not variable enough to be interesting.

Not sure that it is actually necessary. If that proves to be needed,
this could always be done later on.
--
Michael