Re: remove log header

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: "Sabin Coanda" <sabin(dot)coanda(at)deuromedia(dot)ro>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: remove log header
Date: 2009-01-06 16:03:40
Message-ID: 2f4958ff0901060803i44eac858s93d684b9df81e6b0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jan 6, 2009 at 3:32 PM, Sabin Coanda <sabin(dot)coanda(at)deuromedia(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Emanuel Calvo Franco 2009-01-06 16:03:44 Re: H2 database
Previous Message Scot Kreienkamp 2009-01-06 15:54:23 Re: Vacuum problems