From: codeWarrior <GPatnude@adelphia.net>
To: pgsql-admin@postgresql.org
Subject: Database logging.... Recycle server logs ???
Date: Mon, 13 Jan 2003 07:44:26 -0800
Message-ID: <avumgf$ntf$1@news.hub.org> (raw)
I recently discovered that another programmers CGI's are occasionally
killing my postgreSQL server so I decided to modify the postgres.conf file
to do some extended logging and additionally redirect the server output into
an error log (using the -l pgdblog.log) switch...
postgreSQL was restarted like this:
> pg_ctl start -D /usr/bin/pgsql/data -l pgdblog.log
I noticed that the server generated logfile gets real big real fast -- (15
queries and it's already at 1.5MB) -- Is there a switch / option to recycle
the server logs periodically ???
TIA...
GP
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: GPatnude@adelphia.net
Subject: Re: Database logging.... Recycle server logs ???
In-Reply-To: <avumgf$ntf$1@news.hub.org>
References: <avumgf$ntf$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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