Unix & Linux Asked on March 1, 2021
I have
isc-dhcp-relay/xenial-updates,now 4.3.3-5ubuntu12.10 amd64 [installed]
working good, how i can move logging this daemon from syslog to custom log file?
You can't. What you can do is make syslog log that to a separate file (see /etc/rsyslog.d/
).
/etc/rsyslog.d/dhcp-relay.conf
local7.* -/var/log/dhcp-relay.log
Also look at the file /etc/rsyslog.d/50-default.conf
, maybe you want to change the line where it logs to /var/log/syslog
to contain local7.none to avoid double loggings.
Answered by stoney on March 1, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP