log_line_info plan

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: log_line_info plan
Date: 2004-02-18 02:14:28
Message-ID: 4032CA84.1090509@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I am about to redo the patch that would allow tagging of log lines with
info via a printf-style string.

Current plans are to call the config parameter "log_line_info" and
implement the following escapes:

%U = user
%D = database
%T = timestamp
%P = pid
%L = session log line number
%C = sessionid cookie (hex encoded session start time + pid)
%S = session start timestamp
%I = Command Tag (e.g. "CREATE TABLE")

Any comments or suggestions before I start?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2004-02-18 03:08:42 Re: log_line_info plan
Previous Message Greg Sabino Mullane 2004-02-18 01:40:00 Re: Check for prepared statement