Description of Problem: xinetd doesn't honor log_type in xinetd.d/* Version-Release number of selected component (if applicable): 2.3.3-1 How Reproducible: only tested in one system Steps to Reproduce: 1. edit /etc/xinetd.d/ipop3 2. add a line log_type = FILE /var/log/ipop3.log 3. /etc/init.d/xinetd restart && tail -f /var/log/ipop3.log Actual Results: In /var/log/messages, I got a lot of line like : Oct 9 16:58:29 mail ipop3d[13841]: Login user=username host=[x.x.x.x] nmsgs=0/0 Oct 9 16:58:29 mail ipop3d[13841]: Logout user=username host=[x.x.x.x] nmsgs=0 ndele=0 And nothing at all in /var/log/ipop3.log And in /var/log/maillog, I got another lines relatives to ipop3 Expected Results: All lines about ipop3d in /var/log/ipop3.log Additional Information: Doesn't work either if log_type=SYSLOG local3, and local3.* /var/log/ipop3.log in /etc/syslog.conf
Xinetd's log_type configuration only controls logging output by xinetd itself. (Usually from configuration elements like log_on_succes, or log_on_failure). Logging done by the server after xinetd execs it is a completely different animal. In paticular, the log entries in this bug report were generated by the ipop3d executable, so you'll need to look at it's configuration (or the syslogd configuration) to learn how to send it's log messages where you like.