Shira Bezalel
2012-08-28 22:31:21 UTC
The documentation states about the logging collector:
"Note: It is possible to log to stderr without using the logging collector; the log messages will just go to wherever the server's stderr is directed. However, that method is only suitable for low log volumes, since it provides no convenient way to rotate log files. Also, on some platforms not using the logging collector can result in lost or garbled log output, because multiple processes writing concurrently to the same log file can overwrite each other's output."
(From here: http://www.postgresql.org/docs/9.1/interactive/runtime-config-logging.html)
By "multiple processes", does this refer to multiple postgresql servers running on the same machine? If we only have 1 postgresql server running on the machine, is it safe to leave logging_collector off and log to stderr?
Thanks,
Shira
"Note: It is possible to log to stderr without using the logging collector; the log messages will just go to wherever the server's stderr is directed. However, that method is only suitable for low log volumes, since it provides no convenient way to rotate log files. Also, on some platforms not using the logging collector can result in lost or garbled log output, because multiple processes writing concurrently to the same log file can overwrite each other's output."
(From here: http://www.postgresql.org/docs/9.1/interactive/runtime-config-logging.html)
By "multiple processes", does this refer to multiple postgresql servers running on the same machine? If we only have 1 postgresql server running on the machine, is it safe to leave logging_collector off and log to stderr?
Thanks,
Shira
--
Sent via pgsql-novice mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
Sent via pgsql-novice mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice