Not sure if this is a bug or by design in 8.1.2. Using the
following:
log_connections = on
log_disconnections = on
log_duration = on
log_statement = 'all'
log_line_prefix = '%m [%p] %u %r %d %x '
...the transaction is not printed with the duration (it prints 0
instead).
Ed