Skip to content

Commit

Permalink
Merge pull request #2213 from pi-hole/lighttpd_logs
Browse files Browse the repository at this point in the history
Change lighttpd log file names
  • Loading branch information
yubiuser authored May 30, 2022
2 parents b954f62 + 6300c55 commit 56d725d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/pi-hole/js/db_queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function handleAjaxError(xhr, textStatus) {
alert(
"An unknown error occurred while loading the data.\n" +
xhr.responseText +
"\nCheck the server's log files (/var/log/lighttpd/error.log) for details.\n\nYou may need to increase PHP memory limit." +
"\nCheck the server's log files (/var/log/lighttpd/error-pihole.log) for details.\n\nYou may need to increase PHP memory limit." +
"\n\nYou can find more info in pi-hole's FAQ:\nhttps://docs.pi-hole.net/main/faq/#error-while-loading-data-from-the-long-term-database"
);
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/pi-hole/php/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
require_once('func.php');
$ERRORLOG = getenv('PHP_ERROR_LOG');
if (empty($ERRORLOG)) {
$ERRORLOG = '/var/log/lighttpd/error.log';
$ERRORLOG = '/var/log/lighttpd/error-pihole.log';

if (!file_exists($ERRORLOG) || !is_writable($ERRORLOG)) {
$ERRORLOG = '/var/log/apache2/error.log';
Expand Down

0 comments on commit 56d725d

Please sign in to comment.