Support » Plugin: Query Monitor » Logging results to file

  • Resolved MichaelApproved

    (@michaelapproved)


    I’m trying to track down a problem that only shows up intermittently.

    Is there a way to enable query monitor for all requests and put the results into a log file, so I could review it later?

    Ideally, the log would only record when the page took X seconds to load. This way, only problem pages will be logged and regular page loads won’t clog things up.

    That’ll allow me to review the logs and find the issue when a customer tells me a certain page took a long time to load.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    The short answer unfortunately is no. This is something I’ve been working toward but there’s no ETA right now.

    You could write your own dispatcher by starting with a copy of one of the built-in ones and saving the data to a file.

    Thread Starter MichaelApproved

    (@michaelapproved)

    Thanks! I look forward to the logging feature but will look into the dispatcher feature and see if I can put something together.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Logging results to file’ is closed to new replies.