[Orca-checkins] r315 - trunk/orca/lib/Orca
Blair Zajac
blair at orcaware.com
Sun May 16 08:01:30 PDT 2004
Author: blair
Date: Sun May 16 08:00:11 2004
New Revision: 315
Modified:
trunk/orca/lib/Orca/RRDFile.pm
Log:
* lib/Orca/RRDFile.pm
(flush_data):
When RRDs::create fails and a warning is printed to standard
error, also print all of RRDs::create's arguments to make remote
support and debugging easier.
Modified: trunk/orca/lib/Orca/RRDFile.pm
==============================================================================
--- trunk/orca/lib/Orca/RRDFile.pm (original)
+++ trunk/orca/lib/Orca/RRDFile.pm Sun May 16 08:00:11 2004
@@ -224,7 +224,7 @@
RRDs::create @options;
if (my $error = RRDs::error) {
- warn "$0: RRDs::create error: '$rrd_filename' $error\n";
+ warn "$0: RRDs::create(", join(', ', @options), ") failed: $error\n";
return;
}
}
More information about the Orca-checkins
mailing list