pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedLog to Syslog or rotatelogs? Advice Please
2+ messages / 2 participants
[nested] [flat]
* Log to Syslog or rotatelogs? Advice Please
@ 2005-03-14 14:37 David Wagoner <dbwagoner@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: David Wagoner @ 2005-03-14 14:37 UTC (permalink / raw)
To: pgsql-admin
Postgres 7.3.9 on RH Linux...
Setting up new production server-
Is it better to send the postmaster log to Syslog or to rotatelogs?
TIA,
david
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Log to Syslog or rotatelogs? Advice Please
@ 2005-03-14 18:04 Scott Marlowe <smarlowe@g2switchworks.com>
parent: David Wagoner <dbwagoner@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Scott Marlowe @ 2005-03-14 18:04 UTC (permalink / raw)
To: David Wagoner <dbwagoner@gmail.com>; +Cc: pgsql-admin
On Mon, 2005-03-14 at 08:37, David Wagoner wrote:
> Postgres 7.3.9 on RH Linux...
>
> Setting up new production server-
>
> Is it better to send the postmaster log to Syslog or to rotatelogs?
That really depends more on your production environment than any thing
else.
I use apache's rotatelogs with my systems, because the only "log server"
we have is for application logging. If you use syslogd, be sure read
the man page, where they mention the - character:
"The - may only be used to prefix a filename if you want to omit
sync’ing the file after every write to it."
Which is very important if you want postgresql to keep running speedily.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-03-14 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-14 14:37 Log to Syslog or rotatelogs? Advice Please David Wagoner <dbwagoner@gmail.com>
2005-03-14 18:04 ` Scott Marlowe <smarlowe@g2switchworks.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox