• Resolved peter8nss

    (@peter8nss)


    Every month I export the log so I have an audit trail that goes back more than 60 days in case I need it.

    Today’s log was much smaller than I expected. In fact it only seems to cover some of the events from today (not the last 60 days as expected). Checking back I can see I had the same problem at the start of January where the log at the start of December was indeed a full 60 days.

    I know there is now a premium feature to export the search results, but nowhere does it say without this export is limited. In fact the plugin website still says:

    “Can I export the log? Yes, you can export the log to a CSV or JSON file.”

    If this feature has been moved from the free version to the premium version that is a significant reduction in what was a great plugin.

    Please can you explain how I can export the full log as I was always used to be able to do.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter peter8nss

    (@peter8nss)

    Furthermore, the export page still says “The export function will export the full history.”

    Plugin Author P?r Thernstr?m

    (@eskapism)

    Thanks for the bug report. The export page should export the full log. I did however do some refactoring of the export function to move the export code to its own class a while back. Maybe I introduced a bug somewhere back then. I will investigate and fix!

    Thread Starter peter8nss

    (@peter8nss)

    Thanks for the prompt response. I think it was the refactoring, I have to go back to version 5.3.0 before it starts doing the full export properly.

    Two other things I noticed:

    • There is a hardcoded ‘posts_per_page’ set to 3000 in Export_Dropin::download_export and that appears to be a factor in how many records are returned in the export file.
    • The current export appears to contain around 3000 records but has a few more recent records tacked on the end.
    Plugin Author P?r Thernstr?m

    (@eskapism)

    @peter8nss Check the just released version. I was also confused by the posts_per_page in the export class but it turns out that the batch size used to grab items via the log query API. It fetches all pages for the log in batches of that size. So I think/hope it works ok now again!

    Thread Starter peter8nss

    (@peter8nss)

    Just installed 5.6.1. That does indeed seem to have fixed it. Thank you for sorting this so promptly.

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