pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedstarting log problems
3+ messages / 3 participants
[nested] [flat]
* starting log problems
@ 2002-02-06 11:21 Manuel Trujillo <manueltrujillo@dorna.es>
0 siblings, 2 replies; 3+ messages in thread
From: Manuel Trujillo @ 2002-02-06 11:21 UTC (permalink / raw)
To: pgsql-admin
Hi.
I've got compiled a postgresql-7.1.3 into a Debian Sid box (linux). All
works fine, but sometimes, when I go to look the log, this is set to
"zero", is empty. The postgresql don't write anything into it file.
I don't know if it occurs when stop-start postgres, or has any problem,
or... well, i don't know.
In the syslog, messages, or any sistem-log, don't show any problem... ¿?
Anybody can help me, please?
Excuse me my bad english... :(
Have a nice day ;-)
TooManySecrets
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: starting log problems
@ 2002-02-06 11:33 Radu-Adrian Popescu <radu.popescu@aldratech.com>
parent: Manuel Trujillo <manueltrujillo@dorna.es>
1 sibling, 0 replies; 3+ messages in thread
From: Radu-Adrian Popescu @ 2002-02-06 11:33 UTC (permalink / raw)
To: Manuel Trujillo <manueltrujillo@dorna.es>; pgsql-admin
My postmaster is started with :
su -l postgres -s /bin/sh -c "/usr/local/pgsql/bin/pg_ctl -D $PGDATA -o "-i" -p /usr/local/pgsql/bin/postmaster start >> /var/log/pgsql 2>&1" < /dev/null
This is an excerpt from my data/postgresql.conf file, that sets (some) logging parameters :
## Debug display##silent_mode = false
log_connections = truelog_timestamp = true#log_pid = false
#debug_level = 0 # range 0-16
debug_print_query = true#debug_print_parse = false#debug_print_rewritten = false#debug_print_plan = falsedebug_pretty_print = true
> Hi.> > I've got compiled a postgresql-7.1.3 into a Debian Sid box (linux). All> works fine, but sometimes, when I go to look the log, this is set to> "zero", is empty. The postgresql don't write anything into it file.> I don't know if it occurs when stop-start postgres, or has any problem,> or... well, i don't know.> In the syslog, messages, or any sistem-log, don't show any problem... ¿?> > Anybody can help me, please?> Excuse me my bad english... :(> > Have a nice day ;-)> TooManySecrets> > > > ---------------------------(end of broadcast)---------------------------> TIP 6: Have you searched our list archives?> > http://archives.postgresql.org
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: starting log problems
@ 2002-02-06 15:47 Tom Lane <tgl@sss.pgh.pa.us>
parent: Manuel Trujillo <manueltrujillo@dorna.es>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2002-02-06 15:47 UTC (permalink / raw)
To: Manuel Trujillo <manueltrujillo@dorna.es>; +Cc: pgsql-admin
Manuel Trujillo <manueltrujillo@dorna.es> writes:
> I've got compiled a postgresql-7.1.3 into a Debian Sid box (linux). All
> works fine, but sometimes, when I go to look the log, this is set to
> "zero", is empty. The postgresql don't write anything into it file.
Bit of a stretch, but: is it possible you have things configured to send
log output to syslog, instead of stderr?
Do you ever get any log output, or does it only fail some of the time?
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-02-06 15:47 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-06 11:21 starting log problems Manuel Trujillo <manueltrujillo@dorna.es>
2002-02-06 11:33 ` Radu-Adrian Popescu <radu.popescu@aldratech.com>
2002-02-06 15:47 ` Tom Lane <tgl@sss.pgh.pa.us>
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