From 33b475de01b6286ef5d36db59b661d090c0d5286 Mon Sep 17 00:00:00 2001
From: Stephen L Johnson <sjohnson@monsters.org>
Date: Thu, 6 Jan 2000 22:29:39 +0000
Subject: [PATCH] debug output level was added to &debug() calls.

---
 contrib/plugins/spong-server/data_rrd_disk | 4 ++--
 contrib/plugins/spong-server/data_rrd_la   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/contrib/plugins/spong-server/data_rrd_disk b/contrib/plugins/spong-server/data_rrd_disk
index 3e0cac6..2fb5c6b 100755
--- a/contrib/plugins/spong-server/data_rrd_disk
+++ b/contrib/plugins/spong-server/data_rrd_disk
@@ -50,7 +50,7 @@ sub data_rrd_disks {
 
          # If .rrd file not found, built it
          if ( ! -f "$RRDDIR/$host/disk-$target.rrd" ) {
-            &debug("$RRDDIR/$host/disk-$target.rrd not found creating it");
+            &debug("$RRDDIR/$host/disk-$target.rrd not found creating it",4);
             { local $SIG{'PIPE'} = 'IGNORE';
               local $SIG{'CHLD'} = 'IGNORE';
 
@@ -63,7 +63,7 @@ sub data_rrd_disks {
          }
 
         # Update the .rrd file
-        &debug("Updating $host $name rrd file");
+        &debug("Updating $host $name rrd file",4);
         { local $SIG{'PIPE'} = 'IGNORE';
           local $SIG{'CHLD'} = 'IGNORE';
 
diff --git a/contrib/plugins/spong-server/data_rrd_la b/contrib/plugins/spong-server/data_rrd_la
index 35589ee..274723c 100755
--- a/contrib/plugins/spong-server/data_rrd_la
+++ b/contrib/plugins/spong-server/data_rrd_la
@@ -29,7 +29,7 @@ sub data_rrd_la {
 
       # If .rrd file not found, built it
       if ( ! -f "$RRDDIR/$host/la.rrd" ) {
-        &debug("$RRDDIR/$host/la.rrd not found creating it");
+        &debug("$RRDDIR/$host/la.rrd not found creating it",4);
         {  local $SIG{'PIPE'} = 'IGNORE';
            local $SIG{'CHLD'} = 'IGNORE';
 
@@ -43,7 +43,7 @@ sub data_rrd_la {
       }
 
       # Update the .rrd file
-      &debug("Updating $host Load Avg rrd file");
+      &debug("Updating $host Load Avg rrd file",4);
       {  local $SIG{'PIPE'} = 'IGNORE';
          local $SIG{'CHLD'} = 'IGNORE';
 
-- 
2.30.2