Title: LH Log sql queries to file
Author: shawfactor
Published: <strong>2 de junio de  2021</strong>
Last modified: 7 de agosto de  2022

---

Buscar plugins

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

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga asistencia ni lo mantenga nadie, o puede que tenga problemas
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

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

# LH Log sql queries to file

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

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

 * [Detalles](https://es-ar.wordpress.org/plugins/lh-log-sql-queries-to-file/#description)
 * [Valoraciones](https://es-ar.wordpress.org/plugins/lh-log-sql-queries-to-file/#reviews)
 *  [Instalación](https://es-ar.wordpress.org/plugins/lh-log-sql-queries-to-file/#installation)
 * [Desarrollo](https://es-ar.wordpress.org/plugins/lh-log-sql-queries-to-file/#developers)

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

## Descripción

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/).**

## Instalación

 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.

## Preguntas frecuentes

### 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://es-ar.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/)

## Reseñas

No hay reseñas para este plugin.

## Colaboradores y desarrolladores

“LH Log sql queries to file” es un software de código abierto. Las siguientes personas
han colaborado con este plugin.

Colaboradores

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

[Traduce “LH Log sql queries to file” a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/lh-log-sql-queries-to-file)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/lh-log-sql-queries-to-file/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/lh-log-sql-queries-to-file/),
o suscríbete al [log de desarrollo](https://plugins.trac.wordpress.org/log/lh-log-sql-queries-to-file/)
por [RSS](https://plugins.trac.wordpress.org/log/lh-log-sql-queries-to-file/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

**1.00 May 25, 2021**
 Initial release

## Meta

 *  Versión **1.00**
 *  Última actualización **hace 4 años**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 5.0 o superior **
 *  Testeado hasta **6.0.17**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/lh-log-sql-queries-to-file/)
 * Etiquetas:
 * [developer](https://es-ar.wordpress.org/plugins/tags/developer/)[log](https://es-ar.wordpress.org/plugins/tags/log/)
   [log file](https://es-ar.wordpress.org/plugins/tags/log-file/)[queries](https://es-ar.wordpress.org/plugins/tags/queries/)
   [query](https://es-ar.wordpress.org/plugins/tags/query/)
 *  [Vista avanzada](https://es-ar.wordpress.org/plugins/lh-log-sql-queries-to-file/advanced/)

## Valoraciones

Todavía no se enviaron reseñas.

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

[Ver todas las reseñas](https://wordpress.org/support/plugin/lh-log-sql-queries-to-file/reviews/)

## Colaboradores

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

## Soporte

¿Tenés algo que decir? ¿Necesitás ayuda?

 [Ver el foro de asistencia](https://wordpress.org/support/plugin/lh-log-sql-queries-to-file/)

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Doná a este plugin ](https://lhero.org/portfolio/lh-log-sql-queries-to-file/)