Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9JDZVP39274 for ; Fri, 19 Oct 2001 09:35:31 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f9JDAbC50126 for pgsql-admin@postgresql.org; Fri, 19 Oct 2001 09:10:37 -0400 (EDT) (envelope-from news) From: "Eric Sawler" X-Newsgroups: comp.databases.postgresql.admin Subject: RedHat logging Date: Fri, 19 Oct 2001 10:10:35 -0300 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 55 Message-ID: <9qp8oc$1gub$1@news.tht.net> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 To: pgsql-admin@postgresql.org X-Archive-Number: 200110/214 X-Sequence-Number: 2458 I have tried to get postgres (7.1.3) to log to syslog but I'm not having much luck. I installed from the rpms (RedHat 7.1), and everything (else) is working.. In postgresql.conf I have set :- # # Debug display # silent_mode = false log_connections = true log_timestamp = true log_pid = true debug_level = 1 # range 0-16 #debug_print_query = false #debug_print_parse = false #debug_print_rewritten = false #debug_print_plan = false #debug_pretty_print = false #ifdef USE_ASSERT_CHECKING #debug_assertions = true #endif # # Syslog # #ifdef ENABLE_SYSLOG syslog = 2 # range 0-2 syslog_facility = 'LOCAL0' syslog_ident = 'postgres' #endif I read in another message that syslog must be configured to handle this, so in /etc/syslog.conf, I added # Log postgres postgres.* /var/log/pgsql I then restarted the system (just to be sure). Still not getting any logs. Do I need to modify the /etc/init.d/postgresql script as well? It is the default one installed by the rpm.. Thanks, Eric.