Re: Collect logs with syslog +hostname

2015-07-29 Thread Atanas Vladimirov
On 29.07.2015 16:31, Gregory Edigarov wrote: On 07/29/2015 03:46 PM, Atanas Vladimirov wrote: Thanks for the hint. Actually I modified syslog.conf to begin with ++wdr4900 *.* /var/log/w4900 +* because I wanted all records from OpenWRT router to be in one place (/var/log/w4900). It seems tha

Re: Collect logs with syslog +hostname

2015-07-29 Thread koko
On Wed, 29 Jul 2015 15:46:46 +0300 Atanas Vladimirov wrote: > It seems that the real problem/misunderstanding was the part with > /etc/hosts. > Why syslogd doesn't use /etc/resolve.conf? > This box is configured as recursive dns server (unbound). > imho, /etc/hosts is much faster lookup than re

Re: Collect logs with syslog +hostname

2015-07-29 Thread Atanas Vladimirov
On 28.07.2015 15:24, Gregory Edigarov wrote: On 07/28/2015 03:20 PM, Gregory Edigarov wrote: On 07/28/2015 02:41 PM, Atanas Vladimirov wrote: Hi, I tried the new feature of syslogd to collect log messages from other syslog capable devices (in this case an OpenWRT router). I red syslog.conf man

Re: Collect logs with syslog +hostname

2015-07-28 Thread Gregory Edigarov
On 07/28/2015 03:20 PM, Gregory Edigarov wrote: On 07/28/2015 02:41 PM, Atanas Vladimirov wrote: Hi, I tried the new feature of syslogd to collect log messages from other syslog capable devices (in this case an OpenWRT router). I red syslog.conf many times, but I can't figure it why it doesn't

Re: Collect logs with syslog +hostname

2015-07-28 Thread Gregory Edigarov
On 07/28/2015 02:41 PM, Atanas Vladimirov wrote: Hi, I tried the new feature of syslogd to collect log messages from other syslog capable devices (in this case an OpenWRT router). I red syslog.conf many times, but I can't figure it why it doesn't work. [ns]~$ cat /etc/syslog.conf # $Open