When creating new subdomains, the log folder
/var/www/vhosts/domain.com/logs/subdomain.domain.com
is created, but is missing the PHP error_log file, so we can't tail anything.
Going to the Plesk's log file browser
https://domain.com:8443/smb/log-file/browser/id/37
there are no errors, while there should be some (php error_log('test');)
When managing log files with
https://domain.com:8443/smb/log-file/list/id/37
the path is shown as logs/error_log, like the sudomains with proper working error_log files.
When opening
https://domain.com:8443/smb/log-file/view/id/37?filename=error_log
the expected errors are there(!), so they are written somewhere (else).
Questions:
Thanks a lot in advance!
/var/www/vhosts/domain.com/logs/subdomain.domain.com
is created, but is missing the PHP error_log file, so we can't tail anything.
Going to the Plesk's log file browser
https://domain.com:8443/smb/log-file/browser/id/37
there are no errors, while there should be some (php error_log('test');)
When managing log files with
https://domain.com:8443/smb/log-file/list/id/37
the path is shown as logs/error_log, like the sudomains with proper working error_log files.
When opening
https://domain.com:8443/smb/log-file/view/id/37?filename=error_log
the expected errors are there(!), so they are written somewhere (else).
Questions:
- Where are errors written to, where is the real used error_log file?
- What causes this behavior?
- Can I change/repair it to default?
Thanks a lot in advance!