mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/monolog-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\Bundle\\MonologBundle\\MonologBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<5.3"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" channels:",
|
||||
" - deprecation # Deprecations are logged in the dedicated \"deprecation\" channel when it exists",
|
||||
"",
|
||||
"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@test:",
|
||||
" monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" channels: [\"!event\"]",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
"",
|
||||
"when@prod:",
|
||||
" monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" channels: [\"!deprecation\"]",
|
||||
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: php://stderr",
|
||||
" level: debug",
|
||||
" formatter: monolog.formatter.json",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
" channels: [\"!event\", \"!doctrine\"]",
|
||||
" deprecation:",
|
||||
" type: stream",
|
||||
" channels: [deprecation]",
|
||||
" path: php://stderr",
|
||||
" formatter: monolog.formatter.json",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "1b9efb10c54cb51c713a9391c9300ff8bceda459"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/monolog-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\Bundle\\MonologBundle\\MonologBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/dev/monolog.yaml": {
|
||||
"contents": [
|
||||
"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\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/deprecations.yaml": {
|
||||
"contents": [
|
||||
"# As of Symfony 5.1, deprecations are logged in the dedicated \"deprecation\" channel when it exists",
|
||||
"#monolog:",
|
||||
"# channels: [deprecation]",
|
||||
"# handlers:",
|
||||
"# deprecation:",
|
||||
"# type: stream",
|
||||
"# channels: [deprecation]",
|
||||
"# path: \"%kernel.logs_dir%/%kernel.environment%.deprecations.log\"",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
" channels: [\"!event\", \"!doctrine\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" excluded_http_codes: [404, 405]",
|
||||
" channels: [\"!event\"]",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "3204449f033d2132a3c4f396c8fa558d6da4ade5"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/monolog-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\Bundle\\MonologBundle\\MonologBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/dev/monolog.yaml": {
|
||||
"contents": [
|
||||
"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\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/deprecations.yaml": {
|
||||
"contents": [
|
||||
"# As of Symfony 5.1, deprecations are logged in the dedicated \"deprecation\" channel when it exists",
|
||||
"#monolog:",
|
||||
"# channels: [deprecation]",
|
||||
"# handlers:",
|
||||
"# deprecation:",
|
||||
"# type: stream",
|
||||
"# channels: [deprecation]",
|
||||
"# path: \"%kernel.logs_dir%/%kernel.environment%.deprecations.log\"",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: fingers_crossed",
|
||||
" action_level: error",
|
||||
" handler: nested",
|
||||
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
|
||||
" excluded_404s:",
|
||||
" # regex: exclude all 404 errors from the logs",
|
||||
" - ^/",
|
||||
" nested:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
" channels: [\"!event\", \"!doctrine\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/monolog.yaml": {
|
||||
"contents": [
|
||||
"monolog:",
|
||||
" handlers:",
|
||||
" main:",
|
||||
" type: stream",
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" channels: [\"!event\"]",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "9b56f4b8173aab3349130daa3e2501822c486f19"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -21,14 +21,6 @@
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" channels: [\"!event\"]",
|
||||
" # uncomment to get logging in your browser",
|
||||
" # you may have to allow bigger header sizes in your Web server configuration",
|
||||
" #firephp:",
|
||||
" # type: firephp",
|
||||
" # level: info",
|
||||
" #chromephp:",
|
||||
" # type: chromephp",
|
||||
" # level: info",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
@@ -89,7 +81,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "feb9b6ee797ce47bb228d21c9a564a855d3dd00e"
|
||||
"ref": "9b56f4b8173aab3349130daa3e2501822c486f19"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,14 +21,6 @@
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" channels: [\"!event\"]",
|
||||
" # uncomment to get logging in your browser",
|
||||
" # you may have to allow bigger header sizes in your Web server configuration",
|
||||
" #firephp:",
|
||||
" # type: firephp",
|
||||
" # level: info",
|
||||
" #chromephp:",
|
||||
" # type: chromephp",
|
||||
" # level: info",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
@@ -92,7 +84,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "2120e71a370db3a494b8afcc42d7cfb2cff6f910"
|
||||
"ref": "3204449f033d2132a3c4f396c8fa558d6da4ade5"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,14 +29,6 @@
|
||||
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
||||
" level: debug",
|
||||
" channels: [\"!event\"]",
|
||||
" # uncomment to get logging in your browser",
|
||||
" # you may have to allow bigger header sizes in your Web server configuration",
|
||||
" #firephp:",
|
||||
" # type: firephp",
|
||||
" # level: info",
|
||||
" #chromephp:",
|
||||
" # type: chromephp",
|
||||
" # level: info",
|
||||
" console:",
|
||||
" type: console",
|
||||
" process_psr_3_messages: false",
|
||||
@@ -85,7 +77,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f5f5f3e4c23f5349796b7de587f19c51e7104299"
|
||||
"ref": "1b9efb10c54cb51c713a9391c9300ff8bceda459"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user