Received: from tidal.ipinc.com (tidal.ipinc.com [199.245.188.85]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5K4iPa48845; Wed, 20 Jun 2001 00:44:25 -0400 (EDT) (envelope-from jliang@tidal.ipinc.com) Received: from localhost (jliang@localhost) by tidal.ipinc.com (8.9.3/8.9.3) with ESMTP id VAA33485; Tue, 19 Jun 2001 21:44:08 -0700 (PDT) (envelope-from jliang@tidal.ipinc.com) Date: Tue, 19 Jun 2001 21:44:08 -0700 (PDT) From: Jie Liang To: Tom Lane cc: pgsql-sql@postgresql.org, pgsql-admin@postgresql.org Subject: log file In-Reply-To: <11376.992805127@sss.pgh.pa.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200106/113 X-Sequence-Number: 1670 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). 2. the log file I expected (I want log include SQL statement and ERROR) Just have NOTICE and DEBUG info. How to choose these options?? Thanks. Jie LIANG St. Bernard Software 10350 Science Center Drive Suite 100, San Diego, CA 92121 Office:(858)320-4873 jliang@ipinc.com www.stbernard.com www.ipinc.com