31,034
edits
m (→Module Syslog) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
[[Category:Core]] | |||
{{TemplateDocDevEn}} | {{TemplateDocDevEn}} | ||
= Functions = | = Functions = | ||
| Line 29: | Line 25: | ||
Finally, the level of reporting is how many types of errors you want to report. LOG_DEBUG(7) is the strongest option, reporting pretty much everything that calls a dol_syslog() function. LOG_EMERG(0) is the opposite, letting you see only the errors that would really block your system. | Finally, the level of reporting is how many types of errors you want to report. LOG_DEBUG(7) is the strongest option, reporting pretty much everything that calls a dol_syslog() function. LOG_EMERG(0) is the opposite, letting you see only the errors that would really block your system. | ||
More information on page [[Module Syslog (developer)]]. | |||
= Other rare system logs = | = Other rare system logs = | ||
Note that you can have also find some technical PHP/Apache errors in apache log file (whatever is status/setup of this module). But this occurs only if there is a technical problem in your installation: On a typical Linux install, such logs will be available somewhere in '''/var/log/apache[2]/[dolibarr]-error.log'''. You can watch it ''live'' from the terminal by using: | Note that you can have also find some technical PHP/Apache errors in apache log file (whatever is status/setup of this module). But this occurs only if there is a technical problem in your installation: On a typical Linux install, such logs will be available somewhere in '''/var/log/apache[2]/[dolibarr]-error.log'''. You can watch it ''live'' from the terminal by using: | ||
tail -f /var/log/apache2/dolibarr-error.log | tail -f /var/log/apache2/dolibarr-error.log | ||