Re: logging problem ... ?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: logging problem ... ?
Дата
Msg-id Pine.LNX.4.21.0005091651410.387-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: logging problem ... ?  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
The Hermit Hacker writes:

> tell me about it ... now, if it were possible to redirect each backend to
> a seperate file, so that I had X files pertaining to what happened through
> that backend, that would be cool ... maybe play with v7.1 on this one :)

You can compile with ELOG_TIMESTAMPS to tag each log message with a pid
(besides the timestamp).

> > Kinda looks like the backend -o switch doesn't redirect as much as
> > I would've thought --- most of the backend's debug output is coming
> > out in the postmaster log not the other file.  Something to look at
> > later.

This might explain it:

peter ~/pgsql/src/backend$ find -name '*.c' | \                          xargs egrep 'fprintf *\(stderr' | wc -l   232


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: CREATE DATABASE WITH OWNER '??';
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: CREATE DATABASE WITH OWNER '??';