Logging filter - Postgres
A logging filter does not make any changes to the traffic between client and server, it just records some parts of it.
The logging filter looks specifically for packets received from the client of type:
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
This filter does not accept any code.