From: Florian Forster Date: Wed, 9 Dec 2009 07:53:07 +0000 (+0100) Subject: monitorus plugin: Removed the log function. X-Git-Tag: collectd-4.9.0~17 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ec25cce87378f12ecec1f3286fa94d265bab6ea8;p=collectd.git monitorus plugin: Removed the log function. --- diff --git a/bindings/perl/lib/Collectd/Plugins/Monitorus.pm b/bindings/perl/lib/Collectd/Plugins/Monitorus.pm index 2493e36c..1f6c9dac 100644 --- a/bindings/perl/lib/Collectd/Plugins/Monitorus.pm +++ b/bindings/perl/lib/Collectd/Plugins/Monitorus.pm @@ -36,7 +36,6 @@ my $prev_value :shared; $prev_value=0; plugin_register (TYPE_READ, "monitorus", "monitorus_read"); -plugin_register (TYPE_LOG, "monitorus", "monitorus_log"); sub monitorus_read { @@ -102,14 +101,4 @@ sub monitorus_read return 1; } -# This function is called when plugin_log () has been used. -sub monitorus_log -{ - my $level = shift; - my $msg = shift; - - print "LOG: $level - $msg\n"; - return 1; -} # monitorus_log () - 1;