Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
watchdog.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2006 at 14:41 UTC
Updated:
23 Jun 2007 at 19:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
dries commentedWhat would be the difference between WATCHDOG_STATUS and WATCHDOG_NOTICE?
Comment #2
webchickDries: I guess WATCHDOG_STATUS would either be -1 (could be problematic, as this could be considered an error condition) or a 0 and then the rest moved up a number (could be problematic if we consider backwards compatibility, but we don't so I'll probably take this route).
It would be used for messages that do not require action, and are simply "hey this happened" kind of messages. For example, a 404 message means you have links pointing to something that isn't there. It requires action to fix. On the other hand, "So and so registered for an account" would be a WATCHDOG_STATUS message; it's simply informative.
Comment #3
webchickAlso, in glancing through, I think delete operations should retain the NOTICE flag, in case of a rogue admin or some such thing.
Comment #4
webchickHere's a patch. I went the re-numbering route with the statuses (statusii? ;)). Basically any of those "Some thing you just tried to do succeeded!" messages became WATCHDOG_STATUS messages.
Comment #5
keith.smith commentedPreempted by new status levels introduced by 6.x watchdog/dblog changes.