Rename controlpanel.log to installer.log
This commit is contained in:
parent
ffba7ebf1b
commit
b4e1b5aeca
|
@ -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
|
function wh_log(string $message, string $level = 'info', array $context = []): void
|
||||||
{
|
{
|
||||||
$formatter = new LineFormatter(null, null, true, true);
|
$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);
|
$stream->setFormatter($formatter);
|
||||||
|
|
||||||
$log = new Logger('ControlPanel');
|
$log = new Logger('ControlPanel');
|
||||||
|
|
Loading…
Reference in a new issue