diff --git a/conf/ConfigureFromEnv.php b/conf/ConfigureFromEnv.php index ba5dba541..45d85f1dd 100644 --- a/conf/ConfigureFromEnv.php +++ b/conf/ConfigureFromEnv.php @@ -98,5 +98,5 @@ if(defined('SS_USE_BASIC_AUTH') && SS_USE_BASIC_AUTH) { } if(defined('SS_ERROR_LOG')) { - Debug::log_errors_to(SS_ERROR_LOG); + SS_Log::add_writer(new SS_LogFileWriter('../' . SS_ERROR_LOG), SS_Log::WARN, '<='); }