monitorus plugin: Removed the log function.
authorFlorian Forster <octo@huhu.verplant.org>
Wed, 9 Dec 2009 07:53:07 +0000 (08:53 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 9 Dec 2009 07:53:07 +0000 (08:53 +0100)
bindings/perl/lib/Collectd/Plugins/Monitorus.pm

index 2493e36..1f6c9da 100644 (file)
@@ -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;