Why is AWS Lightsail Bitnami WordPress NOT Posting to error.log?

0

Given a "Running" AWS Lightsail Bitnami WordPress instance with these entries in wp-config.php:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true);
define( 'WP_DEBUG_DISPLAY', false);

Although errors are encountered (e.g., being raised by Offload SES Lite plugin), there is no error.log file to be found anywhere on the instance (according to sudo find / -iname "*error.log").

After a couple of hours thrashing around reading [NO]-Help files, StackOverflow posts, AWS forum posts, et cetera, I have yet to find either:

  1. An explanation (e.g., a quirk in AWS Lightsail? A quirk in Bitnami WordPress?), or
  2. A fix.

Any ideas as to how to force WordPress to generate an error.log file?

Many, many thanks in advance,

Plane Wryter

feita há 2 anos302 visualizações
1 Resposta
1

Hi, @Plane_Wryter

With the settings you added, I think the log will be output to "/wp-content/debug.log".

https://wordpress.org/support/article/debugging-in-wordpress/

If you want to output other than debug.log, it seems that you can overwrite the default log setting by the following method.

https://community.bitnami.com/t/moving-the-default-debug-log-in-wp-config/90042

profile picture
ESPECIALISTA
iwasa
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas