<?php
return array(
'exception_handling' => array(
    'debug' => true, // включение режима отладки
    'handled_errors_types' => E_ALL,
    'exception_errors_types' => E_ALL,
    'ignore_silence' => false,
    'assertion_throws_exception' => true,
    'assertion_error_type' => E_USER_ERROR,
    'log' => array(
        'settings' => array(
            'file' => $_SERVER['DOCUMENT_ROOT'] . '/bitrix/php_interface/error_log.txt',
            'log_size' => 1000000,
        ),
    ),
),