summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping.pm
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2005-08-29 14:04:26 +0200
committerNiko Tyni <ntyni@iki.fi>2005-08-29 14:04:26 +0200
commitfcaa98c7edf28d8d16ff3f970460d2a0bcbd409d (patch)
tree708eaa341dc1e9aaed61e30d191e8a08e6035f3b /lib/Smokeping.pm
parentb845e8f36b17287858130cac979914b3851189d3 (diff)
downloadsmokeping-fcaa98c7edf28d8d16ff3f970460d2a0bcbd409d.tar.gz
smokeping-fcaa98c7edf28d8d16ff3f970460d2a0bcbd409d.tar.xz
* 2.0/lib/Smokeping.pm:
+ use CGI::Carp and warn() for do_cgilog() to get timestamps there as well
Diffstat (limited to 'lib/Smokeping.pm')
-rw-r--r--lib/Smokeping.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 8f98341..9134612 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -2422,7 +2422,7 @@ sub daemonize_me ($) {
sub do_cgilog ($){
my $str = shift;
print "<p>" , $str, "</p>\n";
- print STDERR $str,"\n"; # for the webserver log
+ warn $str, "\n"; # for the webserver log
}
sub do_debuglog ($){