mirror of
https://github.com/postgres/postgres.git
synced 2025-05-09 18:21:05 +03:00
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:
parent
6c2ba14d8d
commit
4778c33106
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user