Because this module treats PMs as nodes, new PMs are shown in the watchdog. Review if there's anything we can do to stop this.
Because this module treats PMs as nodes, new PMs are shown in the watchdog. Review if there's anything we can do to stop this.
Comments
Comment #1
rszrama commentedAfter a little research it looks like I can use hook_watchdog() to alter the message before it gets logged or simply delete the message after it's logged. I think I'd prefer nothing to show up at all, so I'll implement hook_enable() to make sure PM Lite's module weight is high. As a fall back, I'll also sanitize the messages and data logged to the watchdog... never know what else may modify module weights.
Comment #2
rszrama commentedImplemented hook_watchdog() as described above to just delete the entry after it's been made. Implemented hook_watchdog() to make sure PM Lite's weight is 1,000 or at least 1 higher than dblog's.