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 #
- Connectez-vous à DirectAdmin.
- Recherchez 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.
Utiliser efficacement les journaux #
- 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.
Dépannage #
- 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.
Besoin d'aide ? #
Si une entrée du journal n'est pas claire, notre équipe d'assistance peut vous aider à l'interpréter via le chat en direct.