Psql dosent log error messages on windows

From: Armand Turpel <armand(dot)turpel(dot)mnhn(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Psql dosent log error messages on windows
Date: 2012-04-25 12:11:35
Message-ID: 4F97E9F7.1020904@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

When i execute a sql script trough psql, it shows me errors in the
console window but it dosent write this errors in a log file.

psql.exe -h localhost -d test -U postgres -w -f C:/test_files/test.sql
>> C:/test_files/pg.log
psql.exe -h localhost -d test -U postgres -w -f C:/test_files/test.sql
-o C:/test_files/pg.log

Configuration settings :
log_destination = 'stderr,eventlog,csvlog'
logging_collector = on
client_min_messages = notice
log_min_messages = warning

The server is started as :

pg_ctl.exe -l "C:/test_files/log/pg.log" -D "C:/pgsql_9_1_1/data" start

Also no error messages this log file.
But the errors are in the eventlog of windows.

Thanks for help.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Willy-Bas Loos 2012-04-25 12:27:44 Re: Psql dosent log error messages on windows
Previous Message John DeSoi 2012-04-25 11:55:38 Re: PHP SQL Color Syntax that is Postgresql & GPL3 Compatible?