Re: log_line_prefix additions
| От | Ed L. |
|---|---|
| Тема | Re: log_line_prefix additions |
| Дата | |
| Msg-id | 200408251645.34265.pgsql@bluepolka.net обсуждение исходный текст |
| Ответ на | Re: log_line_prefix additions (Andrew Dunstan <andrew@dunslane.net>) |
| Список | pgsql-patches |
On Wednesday August 25 2004 4:25, Andrew Dunstan wrote: > From: "Ed L." <pgsql@bluepolka.net> > > >To: pgsql-patches@postgresql.org > > > >This patch against 8.0.0beta1 source adds log_line_prefix options for > >millisecond timestamps (%m), remote host (%h), and remote port (%P). > > The milliseconds are useful for QPS measurements, and the remote port > > is worthless to us as part of %r. > > [snip] > > I don't understand what you mean by the remote port being > "worthless to us as part of %r." Please explain. "Worthless to us as part of %r" means we don't use the remote port, and would rather not have it in our logs. With %h, we can log what we want (hostname/IP), and others can still get both ip and port if they like with "%h(%P)" or "%r". Ed
В списке pgsql-patches по дате отправления: