Atif!
 
Have u enabled DNS in syslog-ng's global configuration??
make sure you've  
 
use_dns (yes);
 
and also /etc/nsswitch is using file as first dns resolver. to make /etc/hosts work.
 
Regards,
 
-Geni
 


 
On 11/2/05, Atif Munir <atif76@gmail.com> wrote:
mysql logs shows that information is stored in the db on the basis of IP.....:-( which sucks.




mysql> select * from logs;


| 172.16.2.4  | auth     | crit     | crit    | 22   | 2005-11-02 | 22:30:27 | su          | su: [ID 810491 auth.crit] 'su root' failed for atifmun on /dev/pts/1                                                                                                                                                                                                                                           | 13115 |
+-------------+----------+----------+---------+------+------------+----------+-------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------+
13115 rows in set (0.11 sec)
 
 
Please help....thanks in advance.
atif

_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html