Re: remove log header - Mailing list pgsql-general

From Grzegorz Jaśkiewicz
Subject Re: remove log header
Date
Msg-id 2f4958ff0901060803i44eac858s93d684b9df81e6b0@mail.gmail.com
Whole thread Raw
In response to remove log header  ("Sabin Coanda" <sabin.coanda@deuromedia.ro>)
List pgsql-general
On Tue, Jan 6, 2009 at 3:32 PM, Sabin Coanda <sabin.coanda@deuromedia.ro> wrote:
> Hi there,
>
> On Windows, I run a script batch file with psql, and I get any log line with
> the following pattern:
>
>            psql://<path_file_name>:4: NOTICE: <log_message>
>
> I'd like to remove the log header before NOTICE. What should I do ?

either write simple program for that, or install gnu utils and treat
it with "sed"

--
GJ

pgsql-general by date:

Previous
From: "Scot Kreienkamp"
Date:
Subject: Re: Vacuum problems
Next
From: "Emanuel Calvo Franco"
Date:
Subject: Re: H2 database