LINUX.ORG.RU

Отключить логи


0

0

После включения VPN , обратил внимание , что начинают пухнуть логи
Посмотрел /var/log/messages - а он растет как на дрожжах
Если начинаю например что-то качать в-гетом , то там появляются записи типа :

Mar 10 11:07:09 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1753 (expecting 1749, lost or reordered)
Mar 10 11:07:09 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1754 (expecting 1749, lost or reordered)
Mar 10 11:07:09 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1755 (expecting 1749, lost or reordered)
Mar 10 11:07:09 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1756 (expecting 1749, lost or reordered)
Mar 10 11:07:09 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1757 (expecting 1749, lost or reordered)
Mar 10 11:07:09 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1758 (expecting 1749, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1776 (expecting 1775, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1777 (expecting 1775, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1778 (expecting 1775, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1779 (expecting 1775, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1780 (expecting 1775, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1781 (expecting 1775, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1782 (expecting 1775, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1793 (expecting 1792, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1794 (expecting 1792, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1795 (expecting 1792, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1796 (expecting 1792, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1797 (expecting 1792, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1802 (expecting 1801, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1803 (expecting 1801, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1804 (expecting 1801, lost or reordered)
Mar 10 11:07:10 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1805 (expecting 1801, lost or reordered)
Mar 10 11:07:11 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1817 (expecting 1816, lost or reordered)
Mar 10 11:07:11 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1818 (expecting 1816, lost or reordered)
Mar 10 11:07:11 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1819 (expecting 1816, lost or reordered)
Mar 10 11:07:11 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1820 (expecting 1816, lost or reordered)
Mar 10 11:07:11 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1828 (expecting 1827, lost or reordered)
Mar 10 11:07:11 linux-b4n8 pptp[4508]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 1829 (expecting 1827, lost or reordered)

Можно это как-то отключить ?

★★★★★

Re: Отключить логи

Чтобы сказать как отключить, надо быть телепатом. А так вообще /etc/syslog-ng/syslog-ng.conf, можно просто фильтровать все эти сообщения, чтобы они писались не в /var/log/messages, а в /dev/null

anonymous ()

Re: Отключить логи

Запускайте pptp в менее разговорчивом режиме:
/usr/sbin/pptp --help 2>&1 | grep loglevel
--loglevel <level> Sets the debugging level (0=low, 1=default, 2=high)

fghj ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.