translator
10,737
edits
(Created page with "<br clear="all"/> === Мои настройки в logrotate.conf не влияют на все .log файлы? ===") |
(Created page with "Файлы сценариев, вызываемые через файл logrotate.conf, имеют приоритет над глобальными настройками в l...") |
||
Line 219: | Line 219: | ||
=== Мои настройки в logrotate.conf не влияют на все .log файлы? === | === Мои настройки в logrotate.conf не влияют на все .log файлы? === | ||
Файлы сценариев, вызываемые через файл logrotate.conf, имеют приоритет над глобальными настройками в logrotate.conf. Это означает, что если вы вызываете скрипт из logrotate.conf, находящийся в каталоге /etc/logrotate.d, то этот скрипт будет более приоритетным, чем любые глобальные настройки в logrotate.conf . | |||
I use a script '''/etc.logrotate.d/rotate.logs''' that is set to work on all *.log files, & it does. The two that don't get rotated are called '''faillog''' & '''lastlog''' , apart from not having the '''.log''' file extension, these two files are not normal log files, they are accessed via terminal commands of the same name. | I use a script '''/etc.logrotate.d/rotate.logs''' that is set to work on all *.log files, & it does. The two that don't get rotated are called '''faillog''' & '''lastlog''' , apart from not having the '''.log''' file extension, these two files are not normal log files, they are accessed via terminal commands of the same name. |