Logs are invaluable when troubleshooting. Access logs show who visited and what they requested, while error logs record problems the server or your site encountered. DirectAdmin gives you access to both. This guide explains how to find and read them.
The two main logs #
- Access log: a record of every request to your site, including the visitor’s IP, the page, and the response.
- Error log: messages about failed requests and script errors, which are the most useful for fixing problems.
Viewing logs in DirectAdmin #
- Melden Sie sich bei DirectAdmin an.
- Achten Sie auf Site Summary / Statistics / Logs or the domain’s logs section.
- Open the access log or error log to view recent entries.
- You can often download the raw logs for closer inspection.
Reading the error log #
When your site shows an error, the error log usually explains why, for example a missing file, a permissions problem, or a PHP fatal error with the file and line number. This is the first place to look when something breaks.
Using logs effectively #
- Check the error log immediately after a problem occurs, while entries are fresh.
- Note the timestamp so you can match it to what you were doing.
- Share relevant log lines with support to speed up help.
Fehlerbehebung #
- Logs empty: the issue may be cached; reproduce it, then re-check.
- Too much data: download the raw log and search for the timestamp or error text.
Brauchen Sie Hilfe? #
If a log entry is unclear, our support team can help interpret it over live chat.