Re: Could Not Connect To Server

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Rob Sargent <robjsargent(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Could Not Connect To Server
Date: 2020-04-23 19:40:17
Message-ID: b6987fb8-8bf2-1d4a-7005-bbbab52213bf@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/23/20 12:36 PM, Rob Sargent wrote:
>
>
> On 4/23/20 1:32 PM, Dummy Account wrote:
>> Hey David,
>> Can you tell me the exact name of the log file?  Then I can search for it.
>> Thanks
>>
> Apparently in your case it is called "log".  I don't have version 12,

To be clear 'log' is the name of the directory that holds the logs. The
log files themselves are named according to some pattern generally. The
default is:

https://www.postgresql.org/docs/12/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHERE

log_filename
The default is postgresql-%Y-%m-%d_%H%M%S.log

> but  version 9's start up name "pg_log" and that is the name of the file
> in the data directory.  Starting at /Library/PostgreSQL/12 as suggested
> is a good bet
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Justin King 2020-04-23 19:46:11 Re: walreceiver termination
Previous Message Rob Sargent 2020-04-23 19:36:07 Re: Could Not Connect To Server