Re: Postgres has stopped logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a production server, so I'm not going to stop & restart unless it's really necessary.

Interesting idea about the old log file being deleted. I could still see the file listed in the directory, though, and could read/edit it.

Thanks for sharing the ideas.

Lewis

Kevin Grittner wrote:
Lewis Kapell <lkapell@xxxxxxxxxxxxx> wrote:
And anyway, there have now been three additional messages written to
the log file since it was first created.
As long as it continues to log after you start PostgreSQL with the
file already in existence, I guess that's not it.  You did try a stop
and a start, and ensure logging still works?
By changing the log directory, I must have caused the logger process to obtain a new file handle, or something along those lines.
Perhaps you somehow deleted the file while PostgreSQL was still
running?  It would still be linked to the old copy, and would happily
write to it even though you couldn't see it....
Just brainstorming.... -Kevin


--
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux