pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedlogs
6+ messages / 5 participants
[nested] [flat]
* logs
@ 2001-04-25 21:34 benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>
0 siblings, 2 replies; 6+ messages in thread
From: benoit.le-dizes@voila.fr @ 2001-04-25 21:34 UTC (permalink / raw)
To: pgsql-admin
I want to view events about my databases on a log file
In /var/lib/pgsql/data I have a log directory 'syslog' which contains no files
how can I do in order to have events in a file in this directory ?
Otherwise, what is the better method to view events in a log file ?
I have tryed to configure pg_options for logs but it was not successful
THANKS
__________________________________________________
Voila vous propose une boite aux lettres gratuite sur Voila Mail:
http://mail.voila.fr
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: logs
@ 2001-04-25 21:46 Joel Burton <jburton@scw.org>
parent: benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>
1 sibling, 0 replies; 6+ messages in thread
From: Joel Burton @ 2001-04-25 21:46 UTC (permalink / raw)
To: benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>; +Cc: pgsql-admin
On Wed, 25 Apr 2001, benoit.le-dizes@voila.fr wrote:
> I have tryed to configure pg_options for logs but it was not successful
Normally, you want to up your debug level in pg_options.
Can you tell us more specifically what you've tried to do?
--
Joel Burton <jburton@scw.org>
Director of Information Systems, Support Center of Washington
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: logs
@ 2001-04-26 01:03 Lamar Owen <lamar.owen@wgcr.org>
parent: benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>
1 sibling, 0 replies; 6+ messages in thread
From: Lamar Owen @ 2001-04-26 01:03 UTC (permalink / raw)
To: benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>; +Cc: pgsql-admin
"benoit.le-dizes@voila.fr" wrote:
>
> I want to view events about my databases on a log file
For version 7.0.x in the RPM distribution:
1.) Enable syslog in pg_options (see documentation on the levels
necessary)
2.) Add a line to /etc/syslog.conf for local1 to go to the file you
want.
3.) Restart postmaster.
This should work, IIRC.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
^ permalink raw reply [nested|flat] 6+ messages in thread
* logs
@ 2001-04-26 19:00 benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>
0 siblings, 0 replies; 6+ messages in thread
From: benoit.le-dizes@voila.fr @ 2001-04-26 19:00 UTC (permalink / raw)
To: pgsql-admin
my options in pg_options are:
verbose=2
query
hostlookup
showportnumber
syslog=2
what is the line I have to write in the /etc/syslog.conf in order to see events of databases ?
__________________________________________________
Voila vous propose une boite aux lettres gratuite sur Voila Mail:
http://mail.voila.fr
^ permalink raw reply [nested|flat] 6+ messages in thread
* Logs
@ 2004-12-13 08:03 Marek Dabrowski <marek.dabrowski@infor.pl>
0 siblings, 0 replies; 6+ messages in thread
From: Marek Dabrowski @ 2004-12-13 08:03 UTC (permalink / raw)
To: pgsql-admin
Hello
Dear friends, I have one problem. My postgres 7.4.6 is working on HP
DL360G4 with 2 disks working in mirror. Normaly average quantity
postmaster proceses is 5-30 but when I switch on loging:
syslog=2
log_connections = true
log_hostname = true
fsync = false
quantity of postmasters grow up to about 500 procesess. I don't know
what is wrong. Mabey configuration of may disk is wrong - I should to
move log files and database files to diferent disks?
Regards
Marek
^ permalink raw reply [nested|flat] 6+ messages in thread
* logs
@ 2020-10-08 21:56 Henry Francisco Garcia Cortez <garcortez@gmail.com>
0 siblings, 0 replies; 6+ messages in thread
From: Henry Francisco Garcia Cortez @ 2020-10-08 21:56 UTC (permalink / raw)
To: pgsql-admin@lists.postgresql.org
writing logs on postgresql can exclude a query
--
Ing. Henry G. Cortez
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2020-10-08 21:56 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-04-25 21:34 logs benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>
2001-04-25 21:46 ` Joel Burton <jburton@scw.org>
2001-04-26 01:03 ` Lamar Owen <lamar.owen@wgcr.org>
2001-04-26 19:00 logs benoit.le-dizes@voila.fr <benoit.le-dizes@voila.fr>
2004-12-13 08:03 Logs Marek Dabrowski <marek.dabrowski@infor.pl>
2020-10-08 21:56 logs Henry Francisco Garcia Cortez <garcortez@gmail.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