Currently all the debug-related watchdog() calls fails to define the debug-status - instead they are logged as notices, which is wrong.

They also fail to provide arguments in the correct way - including them unescaped directly in the watchdog() message when they should be escaped variables instead.

I'm attaching a patch that solves this.

CommentFileSizeAuthor
services_better_debug_watchdog.patch2.19 KBvoxpelli

Comments

gdd’s picture

Status: Needs review » Fixed

Committed, thank you

gdd’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev
Status: Fixed » Patch (to be ported)

Sorry this needs to be ported to 6.

kylebrowning’s picture

Status: Patch (to be ported) » Fixed

Fixed in 6.x-3.x

Status: Fixed » Closed (fixed)

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