1) In /etc/syslog.conf, add the line:
daemon.debug /tmp/daemon.log
2) # touch /tmp/daemon.log
# refresh -s syslogd
3) Modify your inetd.conf so that ftpd is called with the “-l” flag.
You may also want the “-d” flag. This can be done with ‘smit inetdconf’.
All the syslog messages from various system daemons should now appear in
the file “/tmp/daemon.log”.