error log

Mhdrimiog

New member
Joined
Jul 20, 2022
Messages
4
Hello

In the CPanel control panel, if there is a problem in the execution of php files, a file named error_log will be created in the same address, which contains errors and problems. Can such a feature be created for the user in Direct Admin? I know that the logs can be accessed through the User Statistics section, but I want to access them in the file manager like cPanel.
 
All panels do it another way. This is not cPanel and it won't be like cP either, so it needs a bit getting used to.

However, yes, you can also access the logs via the file manager.
If you take the file manager and go just before the public_html, then there is the logs directory.
Files in there are packed though, so not directly viewable like via the Statistics section.

If you still would like it different, you probably have to setup a cronjob which copy's all the domains files very often from the /var/log/httpd/domains directory to the according user in some directory. Which also would add to his quota.
 
Back
Top