• Resolved sputnik99

    (@sputnik99)


    Hi,

    Where can I find all logs generate by memory-meter. I only can see some in the WP plugin page but I need to check all in the past few hours and days.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author 99w

    (@ninetyninew)

    Hi,

    All the logs are displayed on the memory meter dashboard, there is an overall logs limit, which covers both the latest logs and flagged logs, by default this keeps 20 latest and flagged logs.

    If you want to log more you can change the default of 20 using the wpmm_memory_meter_logs_max filter hook, like so:

    function memory_meter_logs_max() {

    return 50;

    }
    add_filter( 'wpmm_memory_meter_logs_max', 'memory_meter_logs_max' );

    You may also wish to change your flagged logs thresholds to ensure any logs you deem over a certain limit are kept in the log for further investigation by using the following filter hooks:

    • wpmm_memory_meter_memory_usage_percentage_bad (defaults to 90)
    • wpmm_memory_meter_memory_usage_percentage_warning (defaults to 75)

    Details on these and all the other filter hooks available can be found in the configuration tab in the memory meter dashboard.

    Thank you,

    Plugin Author 99w

    (@ninetyninew)

    I’ll go ahead and mark this as resolved. If you have any further questions feel free to open another thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.