It would be handy to obtain the Session ID from the watchdog messages, like the Drupal 6 and 7 branches do. The attached screenshot is the details view of what is now presented in the report.

Comments

dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks Rob!

robloach’s picture

Status: Fixed » Needs review
StatusFileSize
new820 bytes

Whoops, forgot some debugging code......... Also, THANKS! :-)

dries’s picture

Status: Needs review » Fixed

Committed to DRUPAL-5. Thanks.

robloach’s picture

Status: Fixed » Needs review
StatusFileSize
new1.69 KB

This will make the reports appear for the User Registration form.

sun’s picture

Status: Needs review » Needs work
+++ mollom.module	28 Jun 2010 15:11:52 -0000
@@ -723,7 +723,6 @@
       watchdog('mollom', t('Ham: %message<br />Data: <pre>@data</pre>Result: <pre>@result</pre>', array('%message' => $data['post_body'], '@data' => print_r($data, TRUE), '@result' => print_r($result, TRUE))));

D6+

+++ mollom.module	7 Jul 2010 16:08:55 -0000
@@ -771,13 +772,13 @@
-          watchdog('mollom', 'Incorrect CAPTCHA');
+          watchdog('mollom', t('Incorrect CAPTCHA. This is the associated data: <pre>@data</pre>', array('@data' => print_r($data, TRUE))));
...
-          watchdog('mollom', 'Correct CAPTCHA');
+          watchdog('mollom', t('Correct CAPTCHA. This is the associated data: <pre>@data</pre>', array('@data' => print_r($data, TRUE))));

Can we use the same, shorter notion in D5?

watchdog('mollom', t('Incorrect CAPTCHA.<br />Data: <pre>@data</pre>', array('@data' => print_r($data, TRUE))));

Powered by Dreditor.

sun’s picture

Category: bug » task
Status: Needs work » Reviewed & tested by the community
StatusFileSize
new1.77 KB
robloach’s picture

Ah! Thanks a lot for updating the patch. RTBC++ed.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to DRUPAL-5.

It has been 9 months since we made a Drupal 5 release for Mollom, and if I remember correctly we made a couple of small changes since. I'm thinking maybe we should make a new Drupal 5 release? Probably time to go through the commit log and to compile a list of all the changes to the DRUPAL-5 version of Mollom, to do some manual testing, etc.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.