What's new

Missing entries in syslog?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

alan6854321

Senior Member
Hi there,

I've been investigating dnsmasq crashes when the WAN goes down and I've noticed that not all entries are written to the syslog file on the router.
I run a separate syslog server and that receives messages that are not written to the syslog file.
Is this any kind of known issue?

Example, this is what I see in the syslog file on the router.

Code:
Jan 14 10:00:36 Samba_Server: smb daemon is stopped
Jan 14 10:00:37 rc_service: udhcpc_wan 3061:notify_rc start_samba
Jan 14 10:00:37 custom_script: Running /jffs/scripts/service-event (args: start samba)
Jan 14 10:00:37 custom_config: Appending content of /jffs/configs/dnsmasq.conf.add.
Jan 14 10:00:37 custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf)
Jan 14 10:00:38 Samba_Server: daemon is started
Jan 14 10:00:38 dhcp_client: bound 92.40.72.69/255.255.255.252 via 92.40.72.70 for 120 seconds.

But this is what my syslog server captured for the same period

Code:
14-Jan 10:00:36 AX Samba_Server: smb daemon is stopped
14-Jan 10:00:37 AX rc_service: udhcpc_wan 3061:notify_rc start_samba
14-Jan 10:00:37 AX custom_script: Running /jffs/scripts/service-event (args: start samba)
14-Jan 10:00:37 AX custom_config: Appending content of /jffs/configs/dnsmasq.conf.add.
14-Jan 10:00:37 AX custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf)
14-Jan 10:00:37 AX dnsmasq[3607]: started, version 2.89 cachesize 1500
14-Jan 10:00:37 AX dnsmasq[3607]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-nftset no-auth cryptohash DNSSEC no-ID loop-detect no-inotify no-dumpfile
14-Jan 10:00:37 AX dnsmasq[3607]: warning: interface br2 does not currently exist
14-Jan 10:00:37 AX dnsmasq[3607]: warning: interface br1 does not currently exist
14-Jan 10:00:37 AX dnsmasq[3607]: warning: interface pptp* does not currently exist
14-Jan 10:00:37 AX dnsmasq[3607]: asynchronous logging enabled, queue limit is 5 messages
14-Jan 10:00:37 AX dnsmasq-dhcp[3607]: DHCP, IP range 192.168.102.2 -- 192.168.102.254, lease time 1d
14-Jan 10:00:37 AX dnsmasq-dhcp[3607]: DHCP, IP range 192.168.101.2 -- 192.168.101.254, lease time 1d
14-Jan 10:00:37 AX dnsmasq-dhcp[3607]: DHCP, IP range 192.168.1.100 -- 192.168.1.254, lease time 1d
14-Jan 10:00:37 AX dnsmasq[3607]: using only locally-known addresses for local
14-Jan 10:00:37 AX dnsmasq[3607]: read /etc/hosts - 24 names
14-Jan 10:00:37 AX dnsmasq[3607]: read /jffs/addons/YazDHCP.d/.hostnames - 32 names
14-Jan 10:00:37 AX dnsmasq-dhcp[3607]: read /jffs/addons/YazDHCP.d/.staticlist
14-Jan 10:00:37 AX dnsmasq-dhcp[3607]: read /jffs/addons/YazDHCP.d/.optionslist
14-Jan 10:00:37 AX dnsmasq[3607]: using nameserver 208.67.222.222#53
14-Jan 10:00:37 AX dnsmasq[3607]: using nameserver 208.67.220.220#53
14-Jan 10:00:37 AX dnsmasq[3607]: using only locally-known addresses for local
14-Jan 10:00:37 AX dnsmasq[3607]: using nameserver 208.67.222.222#53
14-Jan 10:00:37 AX dnsmasq[3607]: using nameserver 208.67.220.220#53
14-Jan 10:00:37 AX dnsmasq[3607]: using only locally-known addresses for local
14-Jan 10:00:38 AX Samba_Server: daemon is started
14-Jan 10:00:38 AX wsdd2[3696]: starting.
14-Jan 10:00:38 AX dhcp_client: bound 92.40.72.69/255.255.255.252 via 92.40.72.70 for 120 seconds.
 
You don't have the router's logging level set high enough. The dnsmasq messages are at info and debug level.
 
You don't have the router's logging level set high enough. The dnsmasq messages are at info and debug level.

So everything gets sent to the syslog server, regardless of those settings?
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top