Restructure log_line_prefix options to be clearer:

#log_line_prefix = ''   # %u = user name
                                # %d = database name
                                # %r = remote host and port
                                # %h = remote host
                                # %p = PID
                                # %t = timestamp
                                # %m = timestamp with milliseconds
                                # %i = command tag
                                # %c = session id
                                # %l = session line number
                                # %s = session start timestamp
                                # %x = transaction id
                                # %q = stop here in non-session processes
                                # %% = '%'
                                # e.g. '<%u%%%d> '
This commit is contained in:
Bruce Momjian 2005-06-09 22:33:05 +00:00
parent 6c2ba14d8d
commit 4778c33106
1 changed files with 15 additions and 9 deletions

View File

@ -239,15 +239,21 @@
#log_connections = false #log_connections = false
#log_disconnections = false #log_disconnections = false
#log_duration = false #log_duration = false
#log_line_prefix = '' # e.g. '<%u%%%d> ' #log_line_prefix = '' # %u = user name
# %u=user name %d=database name # %d = database name
# %r=remote host and port %h=remote host # %r = remote host and port
# %p=PID %t=timestamp %i=command tag # %h = remote host
# %m=timestamp with milliseconds # %p = PID
# %c=session id %l=session line number # %t = timestamp
# %s=session start timestamp %x=transaction id # %m = timestamp with milliseconds
# %q=stop here in non-session processes # %i = command tag
# %%='%' # %c = session id
# %l = session line number
# %s = session start timestamp
# %x = transaction id
# %q = stop here in non-session processes
# %% = '%'
# e.g. '<%u%%%d> '
#log_statement = 'none' # none, mod, ddl, all #log_statement = 'none' # none, mod, ddl, all
#log_hostname = false #log_hostname = false