Commit a945ab09 authored by Olav Kvittem's avatar Olav Kvittem
Browse files

warn to stderr to search logs for failing requests

parent 831f98b1
......@@ -147,6 +147,8 @@ if ( parm('start')){ # list active peers
} else {
print $q->header(-type => 'text/plain' );
print "### File not found $file\n";
warn "### File not found for $file host $r_host ip $r_ip file $file\n";
}
$found=1;
} else { # found client in list - send config_files
......@@ -175,6 +177,7 @@ if ( parm('start')){ # list active peers
print $q->header(
-type=>'text/plain' );
print "### No match found for host $r_host ip $r_ip file $file\n";
warn "### No match found for host $r_host ip $r_ip file $file\n";
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment