1833590 Members
3926 Online
110061 Solutions
New Discussion

inetd -l messages

 
Penny Stoever
Occasional Advisor

inetd -l messages

I am forced to run logging of inetd but would very much like to reroute this particular message to another file. Is there any way to configure it to check for a specific message and reroute it - I have tried inetd.info in the syslog.conf and various other things but have had no luck:
Mar 24 13:43:57 Server1 inetd[27675]: registrar/tcp: Connection from Server1 (10.1.3.4) at Mon Mar 24 13:43:57 2008

It's as if it thinks it's a remote server and logs every 2 minutes.
1 REPLY 1
Tim Nelson
Honored Contributor

Re: inetd -l messages

Put an entry into your /etc/syslog.conf file so it looks like the following.

daemon.debug /var/adm/syslog/inetd.log

Then to stop it from logging in /var/adm/syslog/syslog.log ad the daemon.none entry.

*.info;mail.none;daemon.none /var/adm/syslog/syslog.log


man syslogd and man syslog for further details.