Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Allow custom logfile location
Signed-off-by: Justin Sleep <[email protected]>
  • Loading branch information
justin-sleep committed Sep 2, 2022
commit d4f47aa0131ac3050128f3e45522b26b2f05d57d
2 changes: 1 addition & 1 deletion lib/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ public function logException(\Exception $e) {
* @throws LogException
*/
public function log($message) {
$updaterLogPath = $this->getUpdateDirectoryLocation() . '/updater.log';
$updaterLogPath = $this->getConfigOption('logfile_updater') ?? ($this->getUpdateDirectoryLocation() . '/updater.log');

$fh = fopen($updaterLogPath, 'a');
if ($fh === false) {
Expand Down