Add symfony/monolog-bundle with rotating file logs in dev (7 days) and fingers_crossed + rotating file in prod (30 days). Deploy script now ensures var/log/ permissions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
1.3 KiB
PHP
30 lines
1.3 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use ApiPlatform\Symfony\Bundle\ApiPlatformBundle;
|
|
use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
|
|
use Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle;
|
|
use Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle;
|
|
use Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle;
|
|
use Nelmio\CorsBundle\NelmioCorsBundle;
|
|
use Symfony\AI\McpBundle\McpBundle;
|
|
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
|
|
use Symfony\Bundle\MonologBundle\MonologBundle;
|
|
use Symfony\Bundle\SecurityBundle\SecurityBundle;
|
|
use Symfony\Bundle\TwigBundle\TwigBundle;
|
|
|
|
return [
|
|
FrameworkBundle::class => ['all' => true],
|
|
TwigBundle::class => ['all' => true],
|
|
SecurityBundle::class => ['all' => true],
|
|
DoctrineBundle::class => ['all' => true],
|
|
DoctrineMigrationsBundle::class => ['all' => true],
|
|
NelmioCorsBundle::class => ['all' => true],
|
|
ApiPlatformBundle::class => ['all' => true],
|
|
DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
|
|
LexikJWTAuthenticationBundle::class => ['all' => true],
|
|
McpBundle::class => ['all' => true],
|
|
MonologBundle::class => ['all' => true],
|
|
];
|