Re: Set log_line_prefix and application name in test drivers
| От | Peter Eisentraut | 
|---|---|
| Тема | Re: Set log_line_prefix and application name in test drivers | 
| Дата | |
| Msg-id | 19d9f94a-b65d-b8f0-579c-0ee1959b1814@2ndquadrant.com обсуждение исходный текст  | 
		
| Ответ на | Re: Set log_line_prefix and application name in test drivers (Tom Lane <tgl@sss.pgh.pa.us>) | 
| Ответы | 
                	
            		Re: Set log_line_prefix and application name in test
 drivers
            		
            		 Re: Set log_line_prefix and application name in test drivers  | 
		
| Список | pgsql-hackers | 
On 8/10/16 5:18 PM, Tom Lane wrote: > Or in short: I don't want to be seeing one prefix format in some buildfarm > logs and a different format in others. Sure. My patch has log_line_prefix = '%t [%p]: [%l] %qapp=%a ' which is modeled after the pgfouine recommendation, which is I believe a wide-spread convention, and it also vaguely follows syslog customs. The build farm client has log_line_prefix = '%m [%c:%l] ' which is very similar, but the lack of the PID makes it unsuitable for the purposes that I have set out, and there is no obvious place to put additional information such as %a. %m vs %t is obviously a minor issue that I will gladly adjust, but besides that I prefer to stick with my version. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: