Where are the log files?

kylenave wrote on Sunday, September 13, 2015:

I have no log files in /var/log/openemr
Could ther be configured to go somewhere else or is it a permissions issue?

Thanks for any suggestions.

kylenave wrote on Monday, September 14, 2015:

“There is a database table called “log” where all this information goes.”

Search feature works…

robertovasquez wrote on Monday, September 14, 2015:

Hi
You can try /var/phperrors.log

kylenave wrote on Monday, September 14, 2015:

No file there by that name or in ‘log’…

robertovasquez wrote on Monday, September 14, 2015:

php.ini file will tell you where is the error_log location.
1.You need to create the checkini.php file on /var/www/
2… write in the checkini.php the following:

<?php echo phpinfo(); ?>
  1. run the checkini.php file from your browser

  2. If you see PHP Version page. Look for the error_log

fsgl wrote on Monday, September 14, 2015:

In Debian: /var/log/apache2/error.log
In Fedora: /var/log/httpd/php_error_log

kylenave wrote on Monday, September 14, 2015:

Thanks all

I tried the phpinfo approach but log info was blank… found the additional log in /var/log/apache2/error.log as fsgl suggested.

Appreciate the active community here. I’m working to come up to speed on the environment basics so I can contribute as well.