From: | "Richard Huxton" <dev(at)archonet(dot)com> |
---|---|
To: | "Jie Liang" <jliang(at)ipinc(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-sql(at)postgresql(dot)org>, <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: [SQL] log file |
Date: | 2001-06-20 10:02:32 |
Message-ID: | 009101c0f970$220cee20$1001a8c0@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-sql |
From: "Jie Liang" <jliang(at)ipinc(dot)com>
> Tom,
>
> We turn on the log file by:
> In file 'postgresql.conf'
> syslog = 2 # range 0-2
> syslog_facility = 'LOCAL0'
> syslog_ident = 'postgres'
>
> 1. It seems that postmaster writes stuff undef /db/pgsql/pg_xlog
> (they are not text files).
pg_xlog stuff is WAL related (Ch 9 Administrators guide)
> 2. the log file I expected (I want log include SQL statement and ERROR)
> Just have NOTICE and DEBUG info.
I *think* you want DEBUG_PRINT_QUERY and its friends. See Ch 3.4.2 of the
Administrators Guide.
HTH
- Richard Huxton
From | Date | Subject | |
---|---|---|---|
Next Message | Christof Glaser | 2001-06-20 11:03:49 | Re: Row Level Locking !! |
Previous Message | Matt Doughty | 2001-06-20 09:50:46 | replication in 7.1 |
From | Date | Subject | |
---|---|---|---|
Next Message | Christof Glaser | 2001-06-20 11:03:49 | Re: Row Level Locking !! |
Previous Message | Richard Huxton | 2001-06-20 09:51:45 | Re: unrecognized language 'plpgsql' |