该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

LH Log sql queries to file

描述

This plugin logs all wordpress queries to a log file so you can review them later

Read the faq to learn more

Like this plugin? Please consider leaving a 5-star review.

Love this plugin or want to help the LocalHero Project? Please consider making a donation.

安装

  1. Upload the entire lh-log-sql-queries-to-file folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

常见问题

Why did you write this plugin?

I wrote it as I wanted a simple, developer orientated plugin that would log queries to a file so I could review them later.

What is something does not work?

LH Log sql queries to file, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfirteen, twentysixteen etc.

If the problem persists pleasse leave a post in the support forum: https://wordpress.org/support/plugin/lh-log-sql-queries-to-file/ . I look there regularly and resolve most queries.

Will it slow my site down?

Maybe slightly, but the effect should be minimal.

Where can I find the log file?

The log file can be found in your wp-content directory

Can I change the location of the log file?

There is a filter in the plugin called lh_log_sql_queries_to_file_get_log_file_path which can be used to chage the file location

Will this file grow huge?

No by default the file will be deleted once it grows beyond 4 MBs. This size treshold can be filtered by using lh_log_sql_queries_to_file_size_threshold

Does this pugin contain a log file viewer?

No it is deliberately simple

What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: https://shawfactor.com/contact/

评价

此插件暂无评价。

贡献者及开发者

“LH Log sql queries to file” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.00 May 25, 2021
Initial release