From ec25cce87378f12ecec1f3286fa94d265bab6ea8 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 9 Dec 2009 08:53:07 +0100 Subject: [PATCH] monitorus plugin: Removed the log function. --- bindings/perl/lib/Collectd/Plugins/Monitorus.pm | 11 ----------- 1 file changed, 11 deletions(-) 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; -- 2.11.0