? no_error_log.patch
Index: feedapi_dedupe.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/feedapi_dedupe/feedapi_dedupe.module,v
retrieving revision 1.1
diff -u -p -r1.1 feedapi_dedupe.module
--- feedapi_dedupe.module	13 Oct 2009 19:25:36 -0000	1.1
+++ feedapi_dedupe.module	14 Dec 2009 16:13:03 -0000
@@ -95,7 +95,7 @@ function feedapi_dedupe_feedapi_itemfilt
 
       // Process the items.
       case 'process':
-          error_log('============ START Filtering with ' . sizeof($feed->items) . ' items');
+          watchdog('feedapi_dedupe', '============ START Filtering with ' . sizeof($feed->items) . ' items');
           // Get through each feed item.
           foreach ($feed->items as $key => $item) {
             $exists = _feedapi_dedupe_check_unique($item);
@@ -104,7 +104,7 @@ function feedapi_dedupe_feedapi_itemfilt
             }
           } // end of items parsing
 
-          error_log('============= ENDED Filtering with ' . sizeof($feed->items) . ' items');
+          watchdog('feedapi_dedupe', '============= ENDED Filtering with ' . sizeof($feed->items) . ' items');
         break;
   } // end switch
 }
@@ -121,7 +121,7 @@ function _feedapi_dedupe_check_unique($f
   }
   
   $msg =  '%% DEDUPE request for: ' . $title . ' -- ' . $url;
-  error_log ($msg);
+  watchdog('feedapi_dedupe', $msg);
   
   //-- There's a bunch of special cases that we just know is garbage.
   if (feedapi_dedupe_is_special_case($title, $url)) {
@@ -159,11 +159,11 @@ function _feedapi_dedupe_check_unique($f
   }
 
   if (is_numeric($dnid)) { //duplicate found!
-    error_log ('CONCLUSION: Duplicate ' . $dnid);
+    watchdog('feedapi_dedupe', 'CONCLUSION: Duplicate ' . $dnid);
     return $dnid;
   }
   else {
-    error_log ('NOOOOT DUPLICATE');
+    watchdog('feedapi_dedupe', 'NOOOOT DUPLICATE');
     return FALSE;
   }
 
@@ -308,7 +308,7 @@ switch (variable_get('feedapi_dedupe_mod
  
   if (!$is_not_cron_running) { //-- don't set messsages in cron
     drupal_get_messages(NULL, TRUE); //-- We don't want user to see node delete messages.
-    error_log($affected . ' duplicates cleaned!');
+    watchdog('feedapi_dedupe', $affected . ' duplicates cleaned!');
   }
   else {
     drupal_set_message($affected . ' duplicates cleaned!');
