How to setup logging for TFTP daemon under /etc/xinetd.d/tftp?
Using RHEL 8.1 as a PXE Boot Server to try and Kickstart a number of Servers.
We are having issues with TFTP and want to troubleshoot, and have tried to add logging. I've used the following Red Hat solution and think its needs more info (I've also added a number of comments):
https://access.redhat.com/solutions/451773
Since Xinetd is controlling TFTP, do we want to setup the logging details under /etc/rsyslog.conf or /etc/xinetd.d/tftp?
When I've setup logging under /etc/rsyslog.conf like the following examples:
daemon.* /var/log/tftp.log
ftp.* /var/log/tftp.log
Both daemon.* and ftp.* proved to be too noisy and a lot of entries that were slated for /var/log/messages ended up under /var/log/tftp.log too.
Right now I'm using the following entry under /etc/rsyslog.conf:
tftpd.* /var/log/tftp.log
And I'm getting the same results.
I don't see any clear examples on how to setup logging under /etc/xinetd.d/tftp as I want to try that.
thanks