[syslog-ng] hostname

mrgenius mrgenius420 at gmail.com
Thu Nov 3 07:07:41 CET 2005


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 at 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 <http://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 at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20051103/0b01e6f3/attachment.htm


More information about the syslog-ng mailing list