Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
abh committed Sep 7, 2012
1 parent e43ff03 commit 4b9b634
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion lib/GeoDNS.pm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ sub reply_handler {
$self->check_config(); $self->check_config();


my ($domain, $query_class, $query_type, $peer_host) = @_; my ($domain, $query_class, $query_type, $peer_host) = @_;

$domain = lc $domain . '.'; $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}; my $stats = $self->{stats};


Expand Down
5 changes: 2 additions & 3 deletions monitor/.gitignore
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,2 @@
measurements.db db
rrd node_modules
graphs
3 changes: 1 addition & 2 deletions pgeodns
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ for my $i (0 .. scalar @{$opt_interface} - 1) {


my $g = GeoDNS->new( my $g = GeoDNS->new(
server_id => $opt_interface->[0], server_id => $opt_interface->[0],
debug => 1,
config_file => $opt_config,
development => ($opt_development ? 1 : 0), development => ($opt_development ? 1 : 0),
log => 1,
); );




Expand Down

0 comments on commit 4b9b634

Please sign in to comment.