Response logging filter - Postgres

A response logging filter does not make any changes to the traffic between client and server, it just records some parts of it.

The response logging filter will by default log all responses from the database server, unless specific packet types are specified in the parameters.

Parameters

  • File name : optional. If specified, this should be the name of a file to which to write the log entries. If not specified, output will go to the standard log.

  • Use timestamp : optional. If the File name parameter is specified, and this is true, then the file name will be given a timestamp. This is useful if you want to avoid overwriting the file when Gallium Data restarts.

  • Logger name : optional. If specified, and File name is not set, the log entries will go the specified logger. The default is "galliumdata.uselog".

  • Format : Optional. If specified, the format of the log entries, where $ts will be replaced with a timestamp, $thread with the thread ID, $user with the database user name, and $message with the body of the message. The default is $ts [$user-$thread] $message

  • Packet types : Optional. If specified, a comma-separated list of packet types, for instance DataRow,ParseComplete,NoData


This filter does not accept any code.