diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 645cbb9..ba635f4 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -4149,6 +4149,32 @@ SELECT * FROM parent WHERE key = 2400; a convenient way to find and access log content without establishing a database connection. + + + current_logfiles + in relation to systemd + + + pg_current_logfile + in relation to systemd + + + systemd + Logging and logfiles + + + current_logfiles exists only + when is on. + The logging_collector default, + in PostgreSQL and in many binary + distributions, is off. + Many Linux distributions' default is to leave + the logging collector off and rely on systemd + to collect stderr and manage logging. This default + affects the function + as well. + + Where To Log diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 5e0a088..bbd3ecd 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -15682,7 +15682,8 @@ SET search_path TO schema , schema, .. pg_current_logfile function - + pg_current_logfile returns, as text, the path of either the csv or stderr log file currently in use by the logging collector. This is a path including the