mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user