Re: Change the csv log to 'key:value' to facilitate the user to understanding and processing of logs

2022-04-06 Thread Michael Paquier
On Tue, Mar 15, 2022 at 10:33:42AM -0400, Jan Wieck wrote: > Also, the CSV format, while human readable to a degree, wasn't meant for > direct, human consumption. It was meant to be read by programs and at the > time, CSV made the most sense. FWIW, I have noticed that this patch was still listed i

Re: Change the csv log to 'key:value' to facilitate the user to understanding and processing of logs

2022-03-15 Thread Jan Wieck
On 3/15/22 10:12, Andrew Dunstan wrote: On 3/15/22 09:30, hubert depesz lubaczewski wrote: On Tue, Mar 15, 2022 at 09:31:19AM +0800, lupeng wrote: Dear Hackers When I audit the Postgresql database recently, I found that after configuring the log type as csv, the output log content is as follow

Re: Change the csv log to 'key:value' to facilitate the user to understanding and processing of logs

2022-03-15 Thread Andrew Dunstan
On 3/15/22 09:30, hubert depesz lubaczewski wrote: > On Tue, Mar 15, 2022 at 09:31:19AM +0800, lupeng wrote: >> Dear Hackers >> When I audit the Postgresql database recently, I found that after >> configuring the log type as csv, the output log content is as follows: >> "database ""lp_db1"" does

Re: Change the csv log to 'key:value' to facilitate the user to understanding and processing of logs

2022-03-15 Thread hubert depesz lubaczewski
On Tue, Mar 15, 2022 at 09:31:19AM +0800, lupeng wrote: > Dear Hackers > When I audit the Postgresql database recently, I found that after > configuring the log type as csv, the output log content is as follows: > "database ""lp_db1"" does not exist","DROP DATABASE > lp_db1;",,"dropdb, dbcomman

Re: Change the csv log to 'key:value' to facilitate the user to understanding and processing of logs

2022-03-15 Thread Julien Rouhaud
Hi, On Tue, Mar 15, 2022 at 09:31:19AM +0800, lupeng wrote: > > When I audit the Postgresql database recently, I found that after configuring > the log type as csv, the output log content is as follows: "database > ""lp_db1"" does not exist","DROP DATABASE lp_db1;",,"dropdb, > dbcommands.c:841

Change the csv log to 'key:value' to facilitate the user to understanding and processing of logs

2022-03-15 Thread lupeng
Dear Hackers When I audit the Postgresql database recently, I found that after configuring the log type as csv, the output log content is as follows: "database ""lp_db1"" does not exist","DROP DATABASE lp_db1;",,"dropdb, dbcommands.c:841","","client backend",,0 It is ve