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

gefragt vor 2 Jahren302 Aufrufe
1 Antwort
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
EXPERTE
iwasa
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen