richardvo...@gmail.com (richardvo...@gmail.com) wrote on 25 July 2008 03:11:
Evidently, it is turning logging *on* that presents the problem, because you
can get no information about the state of the cache before dnsmasq was
reloaded to enable logging.
He should leave logging on all the time
On Fri, Jul 25, 2008 at 8:05 AM, Carlos Carvalho car...@fisica.ufpr.brwrote:
richardvo...@gmail.com (richardvo...@gmail.com) wrote on 25 July 2008
03:11:
Evidently, it is turning logging *on* that presents the problem, because
you
can get no information about the state of the cache before
Three options come to mind; either
1) drop that threshold in syslog.conf,
2) add a line to syslog.conf to log all messages logged to the DAEMON
facility (or whatever you've set with log-facility) to another file. Be
aware that the default changes to LOCAL0 if you run dnsmasq -d.
3) switch
On Thu, 24 Jul 2008 10:00:18 -0600, Brad Morgan b-mor...@concentric.net
wrote:
Three options come to mind; either
1) drop that threshold in syslog.conf,
2) add a line to syslog.conf to log all messages logged to the DAEMON
facility (or whatever you've set with log-facility) to another file.
Brad Morgan wrote:
Three options come to mind; either
1) drop that threshold in syslog.conf,
2) add a line to syslog.conf to log all messages logged to the DAEMON
facility (or whatever you've set with log-facility) to another file. Be
aware that the default changes to LOCAL0 if you run dnsmasq
Added. Thanks for the warning. -- Paul
Simon Kelley wrote:
Paul Chambers wrote:
[root@home logrotate.d]# cat /etc/logrotate.d/dnsmasq
/var/log/dnsmasq.log {
daily
# missingok
rotate 7
compress
delaycompress
notifempty
postrotate
After playing with dnsmasq log-queries for a while, I think there should be
a signal that dynamically toggles this option. Stopping and starting dnsmasq
doesn't work because it clears the cache and that's what I'm trying to
discover... Is the wrong answer coming out of cache or is it coming from
Brad Morgan (b-mor...@concentric.net) wrote on 24 July 2008 14:15:
After playing with dnsmasq log-queries for a while, I think there should be
a signal that dynamically toggles this option. Stopping and starting dnsmasq
doesn't work because it clears the cache and that's what I'm trying to
Quoting from the man page:
When it receives a SIGUSR1, dnsmasq writes statistics to the
system
log. It writes the cache size, the number of names which have had
to
removed from the cache before they expired in order to make room
for
new names and the total
Brad Morgan (b-mor...@concentric.net) wrote on 23 July 2008 14:11:
I've started dnsmasq with -q and send it a SIGUSR1. I see in
/var/log/messages the statistics, but I don't see any of the queries or the
complete dump of the cache.
I also tried log-queries in the dnsmasq.conf file.
Do I
10 matches
Mail list logo