diff --git a/application/forms/Config/LoggingForm.php b/application/forms/Config/LoggingForm.php index f85219cac..c276ca1df 100644 --- a/application/forms/Config/LoggingForm.php +++ b/application/forms/Config/LoggingForm.php @@ -124,7 +124,7 @@ class LoggingForm extends Form 'helptext' => 'The logfile to write the icingaweb debug logs to.' . 'The webserver must be able to write at this location', 'required' => true, - 'value' => $logging->get('target', '/var/log/icingaweb.log') + 'value' => $logging->get('target', $this->getBaseDir() . '/var/log/icingaweb.log') ) ); $txtLogPath->addValidator(new WritablePathValidator()); @@ -158,7 +158,7 @@ class LoggingForm extends Form 'label' => 'Debug Log Path', 'required' => $this->shouldDisplayDebugLog($debug), 'condition' => $this->shouldDisplayDebugLog($debug), - 'value' => $debug->get('target', $this->getBaseDir() . '/var/log/icinga2.debug.log'), + 'value' => $debug->get('target', $this->getBaseDir() . '/var/log/icingaweb2.debug.log'), 'helptext' => 'Set the path to the debug log' ) );