Currently, it allows filtering by module and criticity.

Adding an ability to filter by user would be useful.

CommentFileSizeAuthor
#6 444654_interface_only_D7.patch1.24 KBAnonymous (not verified)

Comments

j.somers’s picture

What would be the best way to do this?

I have a site with over 20.000 users (albeit not every user is active and it contains a lot of duplicated users) but I don't think it's a really nice solution to create a list like the current available filters for the severity and the type.

fgm’s picture

Probably as always in such cases, by using an autocomplete instead of a select ?

Anonymous’s picture

Assigned: Unassigned »

I agree. I will write a patch for the watchdog now.

Anonymous’s picture

I'm almost done, but unable to properly test because of a bug in the filter form which hasn't been resolved yet: PDOException: Invalid parameter number: dblog - http://drupal.org/node/445482. Will wait until this problem has been resolved and pushed upstream.

fgm’s picture

Rohin, don't let that prevent you from uploading that file. It needn't be perfect on the first try anyway.

Anonymous’s picture

StatusFileSize
new1.24 KB

Okay, here's a patch which will just add an auto-complete textfield to the filter form for the user to enter a username

Anonymous’s picture

Assigned: » Unassigned
sun.core’s picture

Version: 7.x-dev » 8.x-dev
arhak’s picture

Status: Active » Closed (duplicate)

marking this as duplicate of #24957: Search Watchdog Log

also check out the 6.x-3.x version of Utility module which already implements filtering log entries by user & host
and a D7 patch for a new hook to make log filtering extensible from contrib #582622: provide hook for dblog_filters