how to log for a program such as "ping" ??
hi ,everybody ,
i write a program , i try to log message for it . but i don't know how to modify /etc/syslog.conf i have tried to append syslog.conf like that: user.* /var/log/XXX but it doesn't work plz help me . |
Did you restart syslog? Also, does your program use a valid priority level? Have you tried using the local0-7 facilities?
On a related note, you might just try modifying your iptables rules to log ICMP traffic if that's what you really want. |
All times are GMT -5. The time now is 07:41 PM. |