Re: Postgres has stopped logging
От | Lewis Kapell |
---|---|
Тема | Re: Postgres has stopped logging |
Дата | |
Msg-id | 4A296439.40805@setonhome.org обсуждение исходный текст |
Ответ на | Re: Postgres has stopped logging ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>) |
Ответы |
Re: Postgres has stopped logging
|
Список | pgsql-admin |
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@setonhome.org> 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
В списке pgsql-admin по дате отправления: