In this article, we will explain in detail where these logs are stored. Here we will provide the directories where they are located.
Apache Log
/var/log/httpd/error_log
Nginx Log
/var/log/nginx/error.log
PHP log
/var/log/php/exceptions.log
The mail log
The path to the mail logs is specified in /home/bitrix/.msmtprc. By default, after configuring mail for the first site, logs are written here: /home/bitrix/msmtp_default.log