Fatal error: Uncaught UnexpectedValueException: The stream or file "/home/real2/logs/app.log" could not be opened: failed to open stream: Permission denied in /home/real2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 Stack trace: #0 /home/real2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\StreamHandler->write(Array) #1 /home/real2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array) #2 /home/real2/vendor/monolog/monolog/src/Monolog/Logger.php(777): Monolog\Logger->addRecord(600, 'Mysql connect e...', Array) #3 /home/real2/vendor/bitrix-expert/monolog-adapter/src/ExceptionHandlerLog.php(132): Monolog\Logger->emergency('Mysql connect e...', Array) #4 /home/real2/bitrix/modules/main/lib/diag/exceptionhandler.php(369): Bex\Monolog\ExceptionHandlerLog->write(Object(Bitrix\Main\DB\ConnectionException), 0) #5 /home/real2/bitrix/modules/main/lib/diag/exceptionhandler.php(266): Bitrix\Main\Diag\ExceptionHandl in /home/real2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 107

Fatal error: Uncaught UnexpectedValueException: The stream or file "/home/real2/logs/app.log" could not be opened: failed to open stream: Permission denied in /home/real2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107 Stack trace: #0 /home/real2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Monolog\Handler\StreamHandler->write(Array) #1 /home/real2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array) #2 /home/real2/vendor/monolog/monolog/src/Monolog/Logger.php(777): Monolog\Logger->addRecord(600, 'Uncaught Unexpe...', Array) #3 /home/real2/vendor/bitrix-expert/monolog-adapter/src/ExceptionHandlerLog.php(132): Monolog\Logger->emergency('Uncaught Unexpe...', Array) #4 /home/real2/bitrix/modules/main/lib/diag/exceptionhandler.php(369): Bex\Monolog\ExceptionHandlerLog->write(Object(ErrorException), 5) #5 /home/real2/bitrix/modules/main/lib/diag/exceptionhandler.php(350): Bitrix\Main\Diag\ExceptionHandler->writeToLog(Objec in /home/real2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 107