diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml index cf20d99..256a14f 100644 --- a/doc/src/sgml/storage.sgml +++ b/doc/src/sgml/storage.sgml @@ -72,16 +72,34 @@ Item current_logfiles - A file recording the current log file(s) used by the syslogger and - its log format, stderr or csvlog. Each line - of the file is a space separated list of two elements: the log format and - the full path to the log file including the value - of . The log format must be present - in to be listed in the file. This file + A file recording the log file(s) currently written to by the syslogger + and the file's log formats, stderr + or csvlog. Each line of the file is a space separated list of + two elements: the log format and the full path to the log file including the + value of . + + During server startup current_logfiles reports + the default server log destination. After server startup the log format + must be present in to be listed in + current_logfiles. + + + Non-PostgreSQL log sources, such as 3rd + party libraries, which deliver error messages directly to stderr are + always logged by PostgreSQL to stderr. Stderr + is also the destination for any incomplete log messages produced by + PostgreSQL. When + stderr is not in + , + current_logfiles does not not contain the name of the + file where these sorts of log messages are written. + + + The current_logfiles file is present only when is activated and when at least one of stderr or csvlog value is present in -. + .