dhclient 로그는 쓸모없는 정보로 가득 차 있습니다

dhclient 로그는 쓸모없는 정보로 가득 차 있습니다

dhclient저는 데비안 ( isc-dhcp-client, ) 을 사용하고 있습니다 isc-dhcp-common.

기록되는 로그에는 dhclient저작권 정보 및 기타 쓸모없는 내용이 가득합니다("Readme를 참조하십시오", "http://...를 방문하십시오").

간단한 dhcp세션은 다음과 같습니다.

dhclient:  Internet Systems Consortium DHCP Client 4.2.2
dhclient:  Copyright 2004-2011 Internet Systems Consortium.
dhclient:  All rights reserved.
dhclient:  For info, please visit https://www.isc.org/software/dhcp/
dhclient:  
dhclient:  Listening on LPF/wlan0/aa:bb:cc:dd:ee:ff
dhclient:  Sending on   LPF/wlan0/aa:bb:cc:dd:ee:ff
dhclient:  Sending on   Socket/fallback
dhclient:  DHCPRELEASE on wlan0 to 192.168.0.1 port 67
dhclient:  send_packet: Network is unreachable
dhclient:  send_packet: please consult README file regarding broadcast address.
dhclient:  Internet Systems Consortium DHCP Client 4.2.2
dhclient:  Copyright 2004-2011 Internet Systems Consortium.
dhclient:  All rights reserved.
dhclient:  For info, please visit https://www.isc.org/software/dhcp/
dhclient:  
dhclient:  Listening on LPF/wlan0/aa:bb:cc:dd:ee:ff
dhclient:  Sending on   LPF/wlan0/aa:bb:cc:dd:ee:ff
dhclient:  Sending on   Socket/fallback
dhclient:  DHCPRELEASE on wlan0 to 192.168.0.1 port 67
dhclient:  send_packet: Network is unreachable
dhclient:  send_packet: please consult README file regarding broadcast address.
dhclient:  Internet Systems Consortium DHCP Client 4.2.2
dhclient:  Copyright 2004-2011 Internet Systems Consortium.
dhclient:  All rights reserved.
dhclient:  For info, please visit https://www.isc.org/software/dhcp/
dhclient:  
dhclient:  Listening on LPF/wlan0/aa:bb:cc:dd:ee:ff
dhclient:  Sending on   LPF/wlan0/aa:bb:cc:dd:ee:ff
dhclient:  Sending on   Socket/fallback
dhclient:  DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
dhclient:  DHCPREQUEST on wlan0 to 255.255.255.255 port 67
dhclient:  DHCPOFFER from 192.168.0.1
dhclient:  DHCPACK from 192.168.0.1
dhclient:  bound to 192.168.0.16 -- renewal in 36865 seconds.

중요한 정보에 정크가 섞여 있습니다. 중요한 로그(포함)를 전달 dhclient하고 백그라운드에 표시하기 때문에 이것이 문제가 됩니다. 임대는 자주 업데이트 되므로 dhclient로그가 빠르게 매우 길어질 수 있습니다. 그런 다음 다른 로그를 보려면 위로 스크롤해야 합니다.

정크를 숨기고 관련 정보만 보관하는 것이 가능합니까?

관련 정보