> Exactly what are you logging here ??? Why would I need to see a
> multi-dimensional array in the log ?

If I wanted to capture the location of errors my clients are encountering on 
their postgres clusters in detail, I would need to parse the 'LOCATION' string 
in their log entries, parse out the filename by splitting on the ':' character 
of that same line, and parse out the line number. Essentially any programmatic 
analysis of logs, as it stands today, would require string parsing. I'd rather 
have an organized, logical representation of information which I suggest is not 
possible in a flat, single dimensional structure. 

{
"level":"ERROR",
"meta":{
 "line_number":23,
 "file": "parse_relation.c",
},
"detail:{
 "condition_name"...,
 "error_code"...,
},
time:....
}

Reply via email to