Title: Problem exporting logs
Last modified: January 16, 2023

---

# Problem exporting logs

 *  Resolved [Grant McN](https://wordpress.org/support/users/grant-mcn/)
 * (@grant-mcn)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/problem-exporting-logs/)
 * Hi Mikko,
 * Thanks for this great plugin. Everything is working well until I try to export
   the logs. Then, I receive a 500 error. I have reached out to my hosting company
   who have given the following response:
 * > The only reference I noticed being made to the HTTP 500 error you saw was in
   > our web access logs indicating that the request couldn’t be completed by the
   > server. Here is an example of some of the logs I found:
   >  - **[iafrika.org](http://iafrika.org/)** 0 _HOS_EXTENDED_ **137.158.176.42**––[
   >    13/Jan/2023:13:07:28 +0200] **“POST /wp-admin/options-general.php?page=relevanssi%
   >    2Frelevanssi.php&tab=logging HTTP/2.0” 500** – “[https://iafrika.org/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=logging](https://iafrika.org/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=logging)”“
   >    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML,
   >    like Gecko) Chrome/[109.0.0.0](http://109.0.0.0/) Safari/537.36″ 2499 77
   >    TLSv1.3 TLS_AES_256_GCM_SHA384
   >  - **[iafrika.org](http://iafrika.org/)** 0 _HOS_EXTENDED_ **137.158.176.42**––[
   >    13/Jan/2023:13:27:00 +0200]** “POST /wp-admin/options-general.php?page=relevanssi%
   >    2Frelevanssi.php&tab=logging HTTP/2.0” 500** – “[https://iafrika.org/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=logging](https://iafrika.org/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=logging)”“
   >    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML,
   >    like Gecko) Chrome/[109.0.0.0](http://109.0.0.0/) Safari/537.36″ 2452 49
   >    TLSv1.3 TLS_AES_256_GCM_SHA384
   >  - **[iafrika.org](http://iafrika.org/)** 0 _HOS_EXTENDED_ **137.158.176.42**––[
   >    13/Jan/2023:15:50:47 +0200] **“POST /wp-admin/options-general.php?page=relevanssi%
   >    2Frelevanssi.php&tab=logging HTTP/2.0” 500** – “[https://iafrika.org/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=logging](https://iafrika.org/wp-admin/options-general.php?page=relevanssi%2Frelevanssi.php&tab=logging)”“
   >    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML,
   >    like Gecko) Chrome/[109.0.0.0](http://109.0.0.0/) Safari/537.36″ 1907 77
   >    TLSv1.3 TLS_AES_256_GCM_SHA384
   > There are no further errors indicating that the process is killed by the server
   > itself. I would therefore suggest that you provide the above logs to the plugin
   > developers for them to investigate further. 
 * Do you have any ideas or anything else I might try please? 
   Thanks,
 * Grant
    -  This topic was modified 3 years, 4 months ago by [Grant McN](https://wordpress.org/support/users/grant-mcn/).

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

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/problem-exporting-logs/#post-16378252)
 * Sorry, but I don’t have any ideas. 500 error doesn’t mean anything in itself;
   it could be lots of things. Without an exact error message, I can’t tell what’s
   the problem… Do you automatically trim the logs? Overly large logs could be a
   problem.
 * If you have direct access to the MySQL database with phpMyAdmin, Adminer or tools
   like that, you can export the logs that way. The export feature just reads the
   contents of the `wp_relevanssi_log` database table.
 *  Thread Starter [Grant McN](https://wordpress.org/support/users/grant-mcn/)
 * (@grant-mcn)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/problem-exporting-logs/#post-16381768)
 * I don’t trim the logs. I planned to export them every six months or so, based
   on [our previous discussion](https://wordpress.org/support/topic/search-logging-space-or-performance-issues/).
   I will try to export them via the MySQL database.
 * How do I then clear the existing logs via the plugin please?
    -  This reply was modified 3 years, 4 months ago by [Grant McN](https://wordpress.org/support/users/grant-mcn/).
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/problem-exporting-logs/#post-16382131)
 * You can empty the logs from the “User searches” page in the WP admin.
 *  Thread Starter [Grant McN](https://wordpress.org/support/users/grant-mcn/)
 * (@grant-mcn)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/problem-exporting-logs/#post-16402716)
 * Thanks a lot, Mikko. It turns out that the logs were too large and the server
   couldn’t process the request.
 * I’ll make sure to pare them down in future.
 * Thanks,
 * Grant

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

The topic ‘Problem exporting logs’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

## Tags

 * [export](https://wordpress.org/support/topic-tag/export/)

 * 4 replies
 * 2 participants
 * Last reply from: [Grant McN](https://wordpress.org/support/users/grant-mcn/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/problem-exporting-logs/#post-16402716)
 * Status: resolved