Re: File name as application name in regression tests and elsewhere

2017-12-19 Thread Andrew Dunstan
On 12/18/2017 03:00 PM, Peter Eisentraut wrote: > On 12/18/17 06:59, Andrew Dunstan wrote: >> I was doing some work over the weekend and it occurred to me that it >> would be quite nice to have the input file name from regression tests >> set as the application name, and then use a log_line_prefi

Re: File name as application name in regression tests and elsewhere

2017-12-18 Thread Peter Eisentraut
On 12/18/17 06:59, Andrew Dunstan wrote: > I was doing some work over the weekend and it occurred to me that it > would be quite nice to have the input file name from regression tests > set as the application name, and then use a log_line_prefix setting > including %a, so that this would appear on

Re: File name as application name in regression tests and elsewhere

2017-12-18 Thread Aleksander Alekseev
Hello Andrew, > I was doing some work over the weekend and it occurred to me that it > would be quite nice to have the input file name from regression tests > set as the application name, and then use a log_line_prefix setting > including %a, so that this would appear on the logs. > > My first th

File name as application name in regression tests and elsewhere

2017-12-18 Thread Andrew Dunstan
I was doing some work over the weekend and it occurred to me that it would be quite nice to have the input file name from regression tests set as the application name, and then use a log_line_prefix setting including %a, so that this would appear on the logs. My first thought was to alter all th