Jump to content
Калькуляторы

dhcp как отключить лог?

isc dhcp 4.2.5

про

log-facility local7;

local7.* /dev/null
& ~

знаю

В messages ничего нету, но на выделенный сервер сислога всё равно валится весь этот мусор. Как победить?

Share this post


Link to post
Share on other sites

У меня рекомендуемая конструкция с local7 не работала, сообщения продолжали лезь.

Помогло дефолтное

log-facility local6;

и в syslog

local6.* /dev/null

Share this post


Link to post
Share on other sites

Мне кажется, что никакой разницы не должно быть, что 6, что 7.

На всякий случай проверил. Всё тоже самое.

 

Догадался, надо было фильтр поставить в сислоге :)

*.*;local7.none @192.168.2.6:6514

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.