Title: LH Log sql queries to file
Author: shawfactor
Published: <strong>2021-06-02</strong>
Last modified: 2022-08-07

---

Szukaj wtyczek

![](https://ps.w.org/lh-log-sql-queries-to-file/assets/banner-772x250.jpg?rev=2540954)

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://ps.w.org/lh-log-sql-queries-to-file/assets/icon-256x256.png?rev=2540954)

# LH Log sql queries to file

 Autor: [shawfactor](https://profiles.wordpress.org/shawfactor/)

[Pobierz](https://downloads.wordpress.org/plugin/lh-log-sql-queries-to-file.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/lh-log-sql-queries-to-file/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/lh-log-sql-queries-to-file/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/lh-log-sql-queries-to-file/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/lh-log-sql-queries-to-file/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/lh-log-sql-queries-to-file/)

## Opis

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](https://wordpress.org/support/view/plugin-reviews/lh-log-sql-queries-to-file/).**

**Love this plugin or want to help the LocalHero Project? Please consider [making a donation](https://lhero.org/portfolio/lh-log-sql-queries-to-file/).**

## Instalacja

 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.

## Najczęściej zadawane pytania

### 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](https://pl.wordpress.org/plugins/lh-log-sql-queries-to-file/LocalHero?output_format=md)
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/](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/](https://shawfactor.com/contact/)

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„LH Log sql queries to file” jest oprogramowaniem open source. Poniższe osoby miały
wkład w rozwój wtyczki.

Zaangażowani

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

[Przetłumacz wtyczkę “LH Log sql queries to file” na swój język.](https://translate.wordpress.org/projects/wp-plugins/lh-log-sql-queries-to-file)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/lh-log-sql-queries-to-file/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/lh-log-sql-queries-to-file/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/lh-log-sql-queries-to-file/)
przez [RSS](https://plugins.trac.wordpress.org/log/lh-log-sql-queries-to-file/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

**1.00 May 25, 2021**
 Initial release

## Meta

 *  Wersja **1.00**
 *  Ostatnia aktualizacja **4 lata temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 5.0 lub nowszej **
 *  Testowano do **6.0.18**
 *  Język
 * [English (US)](https://wordpress.org/plugins/lh-log-sql-queries-to-file/)
 * Tagi
 * [developer](https://pl.wordpress.org/plugins/tags/developer/)[log](https://pl.wordpress.org/plugins/tags/log/)
   [log file](https://pl.wordpress.org/plugins/tags/log-file/)[queries](https://pl.wordpress.org/plugins/tags/queries/)
   [query](https://pl.wordpress.org/plugins/tags/query/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/lh-log-sql-queries-to-file/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/lh-log-sql-queries-to-file/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/lh-log-sql-queries-to-file/reviews/)

## Zaangażowani

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/lh-log-sql-queries-to-file/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](https://lhero.org/portfolio/lh-log-sql-queries-to-file/)