dhclientログは無駄な情報でいっぱいです

dhclientログは無駄な情報でいっぱいです

dhclient私はDebian(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ログはすばやく長くなる可能性があります。その後、別のログを表示するには上にスクロールする必要があります。

ジャンクを隠して関連情報だけを保存することは可能ですか?

ベストアンサー1

おすすめ記事