On 1/7/19 6:52 AM, Vimal Kanzariya wrote:
Look at the log_* options in postgresql.conf. https://www.postgresql.org/docs/9.5/runtime-config-logging.html Here's an example: log_destination = 'stderr' logging_collector = on log_directory = '/Database/9.6/pg_log' log_filename = 'postgresql-%F_%H.log' log_truncate_on_rotation = off log_rotation_age = 1h log_rotation_size = 0 client_min_messages = log log_min_messages = info log_min_error_statement = info log_line_prefix = '%m %r %u %d %p %i %a %e ' --
Angular momentum makes the world go 'round. |