does postgres supports syslog-ng package for loging rather than using standart syslog package

From: jack alex <emailssent(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: does postgres supports syslog-ng package for loging rather than using standart syslog package
Date: 2005-03-03 06:44:37
Message-ID: 20050303064437.65935.qmail@web54210.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear All,

I facing problem in my log rotation for postgres, it
is not rotation properly. I am using syslog-ng package
for loging.

My logs for postgres looks like this,

-rw-r--r-- 1 root root 10M Feb 28
23:24 postgres.log.20
-rw-r--r-- 1 root root 0 Feb 28
20:16 postgres.log.21
-rw-r--r-- 1 root root 10M Feb 28
20:15 postgres.log.22
-rw-r--r-- 1 root root 0 Feb 28
17:04 postgres.log.23
-rw-r--r-- 1 root root 10M Feb 28
17:03 postgres.log.24
-rw-r--r-- 1 root root 0 Feb 28
13:52 postgres.log.25
-rw-r--r-- 1 root root 10M Feb 28
13:51 postgres.log.26
-rw-r--r-- 1 root root 0 Feb 28
10:56 postgres.log.27
-rw-r--r-- 1 root root 10M Feb 28
10:55 postgres.log.28
-rw-r--r-- 1 root root 0 Feb 28
08:40 postgres.log.29
-rw-r--r-- 1 root root 0 Mar 2
00:12 postgres.log.3

That's after rotation it generates two files one with
0MB size and another with is of 10MB, so, why it is
generating 0MB size log files??

Does it supports syslogng package for loging? If yes
then what is the difference is its configuration from
normal syslog package.

Any help appreciated.

-jack



__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/

Browse pgsql-general by date

  From Date Subject
Next Message Stephane Bortzmeyer 2005-03-03 08:43:17 Re: [Auth] "ident" method and LDAP user accounts
Previous Message Tom Lane 2005-03-03 04:50:04 Re: Vacuum time degrading