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

asked 2 years ago287 views
1 Answer
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
EXPERT
iwasa
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions