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