Обсуждение: [DOCS] Log rotation note

Поиск
Список
Период
Сортировка

[DOCS] Log rotation note

От
Thom Brown
Дата:
Hi,

I'd like to suggest inserting a note in the docs, around
log_rotation_age and log_rotation_size, that will explain why the logs
might not rotate sometimes.

Something along the lines of: "Note:  If, at the time log rotation is
due, the new name of the log file is identical to the previous one,
log rotation will not occur and the log will continue to be written to
the current file."

While we already have an explanation as to why log rotation may not
occur at all in the log_filename section, but I think this is worth
adding to explain why it may skip one or more rotations.

Thoughts?

Thom