question about logging_collector

From: Shira Bezalel <shira(at)sfei(dot)org>
To: pgsql-novice(at)postgresql(dot)org
Subject: question about logging_collector
Date: 2012-08-28 22:31:21
Message-ID: b710ba7b-3039-4298-8e2c-be97d8717564@hub
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Rowan 2012-08-28 23:22:23 Problem with CREATE TRIGGER
Previous Message Tom Lane 2012-08-28 16:24:42 Re: using index "pg_toast_..." despite IgnoreSystemIndexes