26 lines
750 B
PHP
Executable File
26 lines
750 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$containerConfigurator->extension('monolog', [
|
|
'channels' => ['ai'],
|
|
'handlers' => [
|
|
'ai' => [
|
|
'type' => 'stream',
|
|
'path' => '%kernel.logs_dir%/ai.log',
|
|
'level' => 'debug',
|
|
'channels' => ['ai'],
|
|
],
|
|
'main' => [
|
|
'type' => 'stream',
|
|
'path' => '%kernel.logs_dir%/%kernel.environment%.log',
|
|
'level' => 'debug',
|
|
'channels' => ['!event'],
|
|
],
|
|
],
|
|
]);
|
|
};
|