Where should I tell WordPress where error_log messages should be written?
On WP side the only handling it does is setting log to WP_CONTENT_DIR . ‘/debug.log’ if WP_DEBUG_LOG is enabled (highly bad idea in production environment as public location). If I remember right the very early implementations of this constant allowed to customize the path, but that’s no longer the case. In my experience ini_set( ‘log_errors’, … Read more