[Dnsmasq-discuss] logging dns queries

Carlos Carvalho carlos at fisica.ufpr.br
Mon Mar 21 20:13:13 GMT 2011


Frederick C. Damen (fred at damen.org) wrote on 21 March 2011 12:38:
 >To put a user perspective on the information gleaned from the log is
 >a) what dnsmasq is supposed to do or is having trouble doing I would 
 >like to see in the main log where I look to make sure everything is 
 >working properly.  If it aint in there its working as expected.
 >b) What dnsmasq is doing I would like to be able to log but due to the 
 >volume it causes the log entries of the previous type to get lost in the 
 >forest.
 >So the man page should give me the information that allows me to 
 >separate 'b' from 'a'.
 >
 > From staring at the log file I have deduced that an syslog::ident of 
 >'dnsmasq-dhcp' is used when logging dhcp request/ack messages. Is this 
 >the only time that this syslog::ident is used, i.e. if dnsmasq burped on 
 >a dhcp config statement would 'dnsmasq-dhcp' be used?

Yes it would. dnsmasq-dhcp is not only for LOG_INFO messages.

 >Was another way setup for segregating the two classes of log
 >messages, i.e. LOG_LEVEL for 'a' is above LOG_INFO and 'b' is
 >LOG_INFO?

Yes. LOG_INFO is only informative, all problems have a higher level.



More information about the Dnsmasq-discuss mailing list