Logs not Rotating

Поиск
Список
Период
Сортировка
Искать
От
Mag Gam
Тема
Logs not Rotating
Дата
Msg-id
1cbd6f830512241004t6caae1b8u27e03771268456c7@mail.gmail.com
Список
Дерево обсуждения
Logs not Rotating Mag Gam <magawake@gmail.com>
Re: Logs not Rotating Tom Lane <tgl@sss.pgh.pa.us>
Re: Logs not Rotating Mag Gam <magawake@gmail.com>
Re: Logs not Rotating Tom Lane <tgl@sss.pgh.pa.us>
I have something like this:

redirect_stderr = true      # Enable capturing of stderr into log files.
log_directory = 'pg_log'    # Directory where log files are written.
log_filename = 'postgresql-%a.log' # Log file name pattern.
log_truncate_on_rotation = false  # If true, any existing log file of the
log_rotation_age = 10080     # Automatic rotation of logfiles will happen after
log_rotation_size = 1       # Automatic rotation of logfiles will happen after

But my logs are not rotating at all, is there something I should be aware of?

 PostgreSQL 8.0.5 on i386-redhat-linux-gnu, compiled by GCC
i386-redhat-linux-gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)

I also did pg_ctl restart, and pg_ctl reload

TIA
В списке pgsql-novice по дате отправления
От: Mag Gam
Дата:
Сообщение: Re: PostgreSQL Logging
От: Tom Lane
Дата:
Сообщение: Re: Logs not Rotating
FAQ