• Resolved tomtotalsurf

    (@tomtotalsurf)


    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

    (@aaron13100)

    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

    (@tomtotalsurf)

    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

    (@aaron13100)

    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

    (@tomtotalsurf)

    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.