logging a psql script - Mailing list pgsql-sql

Hello,  I would like my psql script to log everything that it does.
I set the following

\set ECHO all
\o foo.txt
\qecho

some sql, some ddl, etc...

\o


But foo.txt only contains

DROP
DROP
DROP
CREATE
CREATE
CREATE

I want it to contain everything that I see on the screen, what am I
missing?

Thanks

Ken






pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: now() with microsecond granulity needed
Next
From: Frank Joerdens
Date:
Subject: Re: logging a psql script