Log in cpanel fo dolibarr

how to create dolibarr.log in cpanel ? or where i can i find a log to know the errors in it?

there can be errors in the php/webserver log too.

As for the dolibarr.log file it is stored in the documents folder and you enable that in the Dolibarr Setup, Modules/applications

1 Like

I can’t find it on Cpanel.
There is a small model I worked on that runs on the Dolibar, the data for which is in Xampp But what is on Cpanel It doesn’t work and I don’t know why

Hi @khadija

If in your Dolibarr system this option(Debug logs) is turned on, and you have given the write permission to the folder on the server, then the log file will be generated under the Document folder.

Thanks
Saikat Koley

1 Like

it is not in Cpanel, it is inside Dolibarr

how can i read it ?

@khadija When Dolibarr debug logs are enabled, I believe that a dolibarr.log file shows up in the documents/ folder

1 Like

cpanel prevents errors from appearing for security reasons , how do i make it show them ?

  1. Maybe you should ask cpanel questions on the cpanel support site
  2. what errors are you talking about?
  3. dolibarr debug logs are not sent to cpanel, or apache, or any other kind of setup, it is simply stored in the text file dolibarr.log and that file is usually stored in the documents/ folder - provided it was enabled inside Dolibarr