CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Bounce mail logging
Pages: [1]

Author Topic: Bounce mail logging  (Read 616 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Bounce mail logging
December 23, 2012, 02:43:54 pm
When I go to look at the civimail debug log I find it chocka full of messages like

Dec 23 17:21:04  [info] Beginning processQueue run: 0, 0

Dec 23 17:21:04  [info] Ending processQueue run

Does this debug output still add value now that we have the scheduled job mechanism which I believe stores this info in the DB? I have been commenting my installs to get rid of this output - ie.


Code: [Select]
Index: CRM/Mailing/BAO/Mailing.php
===================================================================
--- CRM/Mailing/BAO/Mailing.php (revision 44321)
+++ CRM/Mailing/BAO/Mailing.php (working copy)
@@ -2539,7 +2539,7 @@
 
   static function processQueue($mode = NULL) {
     $config = &CRM_Core_Config::singleton();
-    CRM_Core_Error::debug_log_message("Beginning processQueue run: {$config->mailerJobsMax}, {$config->mailerJobSize}");
+ //   CRM_Core_Error::debug_log_message("Beginning processQueue run: {$config->mailerJobsMax}, {$config->mailerJobSize}");
 
     if ($mode == NULL && CRM_Core_BAO_MailSettings::defaultDomain() == "EXAMPLE.ORG") {
       CRM_Core_Error::fatal(ts('The <a href="%1">default mailbox</a> has not been configured. You will find <a href="%2">more info in the online user and administrator guide</a>', array(1 => CRM_Utils_System::url('civicrm/admin/mailSettings', 'reset=1'), 2 => "http://book.civicrm.org/user/initial-set-up/email-system-configuration")));
@@ -2587,7 +2587,7 @@
       $cronLock->release();
     }
 
-    CRM_Core_Error::debug_log_message('Ending processQueue run');
+ //   CRM_Core_Error::debug_log_message('Ending processQueue run');
     return TRUE;
   }
 
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Bounce mail logging
December 28, 2012, 05:08:53 pm
I don't see value in these [info] lines any longer.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Bounce mail logging
December 28, 2012, 07:07:30 pm
No Lobo gave me blessing to remove them
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Bounce mail logging

This forum was archived on 2017-11-26.