Select Log file manually
-
When using the plugin on this live server, ELM uses the path of an other log file @
/var/www/site-name.com/log/error.log
instead of/wp-content/elm-error-logs/php-errors.log
.I thought that this code would help but nothing changed :
// Don't show errors to site visitors. @ini_set('display_errors', 'Off'); if ( !defined('WP_DEBUG_DISPLAY') ) { define('WP_DEBUG_DISPLAY', true); // false = only fatal errors } // Enable "Error Log Monitor" (plugin @ Dashboard). @ini_set('log_errors', 'On'); @ini_set('error_log', '../wp-content/elm-error-logs/php-errors.log');
Side effects :
– I see many logs that I didn’t see on my localhost or other server installs. Not sur of what it means yet.
– Clearing logs don’t work !What can be done please ?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Select Log file manually’ is closed to new replies.