- Fix EasyAdmin 5 routing: #[AdminDashboard] attribute + easyadmin.routes loader - Fix login: _username/_password field names, CSRF stateless token config, sessions directory, Opcache reload after cache:clear - Add MistralClient behind OllamaClientInterface — switchable via services.yaml alias - Add Attribute CRUD with EnumType form + ChoiceField display (enum-safe rendering) - Add Article Type CRUD with AssociationField for attribute assignments - Add app:api-keys:create console command (bcrypt-hashed, never stored as plaintext) - Add redis ext to Docker image + symfony/redis-messenger, start workers - Translate all UI strings to English - Add tests: MistralClient, ApiKey, CreateApiKeyCommand, StringArrayType, ArticleTypeCrudController, AttributeDefinitionCrudController (82 tests total) - Update design doc: tech stack, AI backend switching guide, ops section Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
monolog:
|
|
channels:
|
|
- deprecation
|
|
|
|
when@dev:
|
|
monolog:
|
|
handlers:
|
|
main:
|
|
type: stream
|
|
path: '%kernel.logs_dir%/%kernel.environment%.log'
|
|
level: debug
|
|
channels: ['!event']
|
|
console:
|
|
type: console
|
|
process_psr_3_messages: false
|
|
channels: ['!event', '!doctrine', '!console']
|
|
|
|
when@prod:
|
|
monolog:
|
|
handlers:
|
|
main:
|
|
type: fingers_crossed
|
|
action_level: error
|
|
handler: nested
|
|
excluded_http_codes: [404, 405]
|
|
buffer_size: 50
|
|
nested:
|
|
type: stream
|
|
path: php://stderr
|
|
level: debug
|
|
formatter: monolog.formatter.json
|
|
database:
|
|
type: service
|
|
id: App\Infrastructure\Logging\DatabaseLogHandler
|
|
level: warning
|
|
channels: ['!doctrine']
|
|
deprecation:
|
|
type: stream
|
|
channels: [deprecation]
|
|
path: php://stderr
|
|
|
|
when@test:
|
|
monolog:
|
|
handlers:
|
|
main:
|
|
type: fingers_crossed
|
|
action_level: error
|
|
handler: nested
|
|
nested:
|
|
type: stream
|
|
path: '%kernel.logs_dir%/%kernel.environment%.log'
|
|
level: debug
|