Title: Log Filter
Last modified: January 8, 2019

---

# Log Filter

 *  Resolved [tomtotalsurf](https://wordpress.org/support/users/tomtotalsurf/)
 * (@tomtotalsurf)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/log-filter-2/)
 * Hi.
    I was just wondering if it is possible to set up a redirect such that it
   stops all logging for that redirect? Basically there are a lot of useless URLs
   appearing like “/adminpage123”, “/adminpage124”, “/adminpage125” etc. which I
   am not interested in seeing in the logs and would like a way to redirect them&
   never have them appear in the logs again. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/log-filter-2/#post-11065118)
 * On the Options page under “Advanced Settings (Etc)” there’s an option called “
   Files and Folders Ignore Strings – Do Not Process”
 * Maybe if you put
 * `/adminpage*`
 * in there that would have the result you’re looking for. Let me know how it goes.
 *  Thread Starter [tomtotalsurf](https://wordpress.org/support/users/tomtotalsurf/)
 * (@tomtotalsurf)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/log-filter-2/#post-11065171)
 * Thanks for the quick reply! I have given this a go but does not seem to work.
   Perhaps this is because it requires some kind of folder reference/file extension
   but I am trying to block a URL from logging?
 * For reference, I went to the URL /adminpageWILLTHISWORK which I believe would
   match /adminpage*
 *  Plugin Author [Aaron](https://wordpress.org/support/users/aaron13100/)
 * (@aaron13100)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/log-filter-2/#post-11065223)
 * So basically you want the log file to only log some things and not some other
   things. The only way to do this currently is by specifying a user agent to ignore
   in the Advanced Section. Can you change the user agent for the person you don’t
   want to log?
 * You’re not the first person to ask for this, but basically I don’t understand
   the request. The purpose of the log file is to log everything, not some things.
   If it were the “Captured URLs” page filling up, then I would understand, but 
   the whole purpose of the log file is to log everything, right? If the log file
   doesn’t log everything then it’s not a log file, it’s just a partial list of 
   some things that happened, right? So… what’s the main purpose of the request?
   Is the log file taking up too much room? Is it just not pretty to look at?
 * The “Captured URLs” page acts as a kind of filtered log when you sort using the“
   Last Used” column. How about that?
 *  Thread Starter [tomtotalsurf](https://wordpress.org/support/users/tomtotalsurf/)
 * (@tomtotalsurf)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/log-filter-2/#post-11065306)
 * That actually makes complete sense and actually filtering the “Captured URLs”
   would be sufficient for what I actually need. Basically what’s sort of happening
   is that someone will see 100s of these URLs (a lot of which are just bots trying
   to brute force a link) and think it’s a bigger issue than it really is, so it’s
   just me trying to mitigate that and also it would hopefully help show more “legitimate”
   URLs which have been caught with no redirect.
 * Sorting by last used kind of does the job, and makes me wonder if hiding anything
   not used in X days would probably do the job and similarly in the “pop up”/header
   where it says “404 Solution: There are N captured 404 URLs to be processed.”,
   just limiting it by time. Maybe couple this by checking it against existing filters.
   Though, this is probably out of the scope of the plugin and would be something
   I would have to look into myself.
 * Thanks for all the help, if nothing else I’ve realised my problem may have a 
   reasonably easy solution to it. Much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Log Filter’ is closed to new replies.

 * ![](https://ps.w.org/404-solution/assets/icon-256x256.jpg?rev=1610739)
 * [404 Solution](https://wordpress.org/plugins/404-solution/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/404-solution/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/404-solution/)
 * [Active Topics](https://wordpress.org/support/plugin/404-solution/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/404-solution/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/404-solution/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [tomtotalsurf](https://wordpress.org/support/users/tomtotalsurf/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/log-filter-2/#post-11065306)
 * Status: resolved