Re: log file
| От | Richard Huxton |
|---|---|
| Тема | Re: log file |
| Дата | |
| Msg-id | 009101c0f970$220cee20$1001a8c0@archonet.com обсуждение |
| Ответ на | log file (Jie Liang <jliang@ipinc.com>) |
| Ответы |
Re: log file
|
| Список | pgsql-sql |
From: "Jie Liang" <jliang@ipinc.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
В списке pgsql-sql по дате отправления: