Re: Removing pollution from log files

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Removing pollution from log files
Date: 2007-08-27 19:27:46
Message-ID: 20070827192746.GJ30147@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Aug 27, 2007 at 02:00:02PM +0300, Andrus wrote:
> Postgres log files are polluted with messages
>
> 2007-08-27 06:10:38 WARNING: nonstandard use of \\ in a string literal at
> character 190
> 2007-08-27 06:10:38 HINT: Use the escape string syntax for backslashes,
> e.g., E'\\'.

That's not pollution; it's telling you you need to fix your
application to escape the backslashes differently. If you want to
suppress them, though, you can change your logging level to be higher
than "WARNING".

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
"The year's penultimate month" is not in truth a good way of saying
November.
--H.W. Fowler

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Owen Hartnett 2007-08-27 19:49:25 problem with transactions in VB.NET using npgsql
Previous Message Andrew Sullivan 2007-08-27 19:12:39 Re: Tables dissapearing