Skip to content
Browse files

Minor cleanups

  • Loading branch information...
1 parent e43ff03 commit 4b9b634890fed21c77ec8611d677bd0e008ad5e3 @abh committed Sep 6, 2012
Showing with 5 additions and 6 deletions.
  1. +2 −1 lib/GeoDNS.pm
  2. +2 −3 monitor/.gitignore
  3. +1 −2 pgeodns
View
3 lib/GeoDNS.pm
@@ -56,9 +56,10 @@ sub reply_handler {
$self->check_config();
my ($domain, $query_class, $query_type, $peer_host) = @_;
+
$domain = lc $domain . '.';
- warn "$peer_host | $domain | $query_type $query_class\n" if $self->{debug};
+ warn "$peer_host | $domain | $query_type $query_class\n" if $self->{log};
my $stats = $self->{stats};
View
5 monitor/.gitignore
@@ -1,3 +1,2 @@
-measurements.db
-rrd
-graphs
+db
+node_modules
View
3 pgeodns
@@ -42,9 +42,8 @@ for my $i (0 .. scalar @{$opt_interface} - 1) {
my $g = GeoDNS->new(
server_id => $opt_interface->[0],
- debug => 1,
- config_file => $opt_config,
development => ($opt_development ? 1 : 0),
+ log => 1,
);

0 comments on commit 4b9b634

Please sign in to comment.
Something went wrong with that request. Please try again.