Rename controlpanel.log to installer.log

This commit is contained in:
Jens 2023-03-31 10:46:36 +02:00 committed by IceToast
parent ffba7ebf1b
commit b4e1b5aeca

View file

@ -243,7 +243,7 @@ function run_console(string $command, array $descriptors = null, string $cwd = n
function wh_log(string $message, string $level = 'info', array $context = []): void
{
$formatter = new LineFormatter(null, null, true, true);
$stream = new StreamHandler(dirname(__FILE__, 3) . '/storage/logs/controlpanel.log', Logger::DEBUG);
$stream = new StreamHandler(dirname(__FILE__, 3) . '/storage/logs/installer.log', Logger::DEBUG);
$stream->setFormatter($formatter);
$log = new Logger('ControlPanel');