The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



"Нужно собрать сквид без ротации логов"
Версия для распечатки Пред. тема | След. тема
Форум Настройка Squid, Tor и прокси серверов
Исходное сообщение [ Отслеживать ]

. "Нужно собрать сквид без ротации логов" +/
Сообщение от ipmanyak (ok), 03-Дек-13, 11:55 
Ротация логов в сквиде
#  TAG: logfile_rotate
#       Specifies the number of logfile rotations to make when you
#       type 'squid -k rotate'.  The default is 10, which will rotate
#       with extensions 0 through 9.  Setting logfile_rotate to 0 will
#       disable the rotation, but the logfiles are still closed and
#       re-opened.  This will enable you to rename the logfiles
#       yourself just before sending the rotate signal.
#      
#       Note, the 'squid -k rotate' command normally sends a USR1
#       signal to the running squid process.  In certain situations
#       (e.g. on Linux with Async I/O), USR1 is used for other
#       purposes, so -k rotate uses another signal.  It is best to get
#       in the habit of using 'squid -k rotate' instead of 'kill -USR1
#       <pid>'.
#      
#Default:
logfile_rotate 10
------
If you set logfile_rotate to 0, Squid simply closes and then re-opens the logs. This allows third-party logfile management systems, such as newsyslog, to maintain the log files.
---------------
Кроме того юзается файл  /etc/logrotate.d/squid
Который имхо можно просто удалить.
p.s.
http://www.squid-cache.org/mail-archive/squid-users/200610/0...
Ответить | Правка | Наверх | Cообщить модератору

Оглавление
Нужно собрать сквид без ротации логов, Dunadan_777, 03-Дек-13, 10:59  [смотреть все]
Форумы | Темы | Пред. тема | След. тема



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру