mirror of
https://github.com/symfony/recipes.git
synced 2026-03-23 23:32:10 +01:00
Create Flex endpoint
This commit is contained in:
36
index.json
Normal file
36
index.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"aliases": {
|
||||
"log": "symfony/monolog-bundle",
|
||||
"logger": "symfony/monolog-bundle",
|
||||
"logging": "symfony/monolog-bundle",
|
||||
"logs": "symfony/monolog-bundle",
|
||||
"monolog": "symfony/monolog-bundle",
|
||||
"monolog-bundle": "symfony/monolog-bundle",
|
||||
"monologbundle": "symfony/monolog-bundle"
|
||||
},
|
||||
"recipes": {
|
||||
"symfony/monolog-bundle": [
|
||||
"3.1",
|
||||
"3.3",
|
||||
"3.7"
|
||||
]
|
||||
},
|
||||
"recipe-conflicts": {
|
||||
"symfony/monolog-bundle": {
|
||||
"3.7": {
|
||||
"symfony/framework-bundle": "<5.3"
|
||||
}
|
||||
}
|
||||
},
|
||||
"versions": [],
|
||||
"branch": "main",
|
||||
"is_contrib": false,
|
||||
"_links": {
|
||||
"repository": "github.com/symfony/recipes",
|
||||
"origin_template": "{package}:{version}@github.com/symfony/recipes:main",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1500/{package_dotted}.{version}.json",
|
||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1500/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||
}
|
||||
}
|
||||
87
symfony.monolog-bundle.3.1.json
Normal file
87
symfony.monolog-bundle.3.1.json
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
90
symfony.monolog-bundle.3.3.json
Normal file
90
symfony.monolog-bundle.3.3.json
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
87
symfony.monolog-bundle.3.7.json
Normal file
87
symfony.monolog-bundle.3.7.json
Normal file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"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_deduplication:",
|
||||
" type: deduplication",
|
||||
" channels: [deprecation]",
|
||||
" handler: deprecation",
|
||||
" time: 86400 # 1 day",
|
||||
" deprecation:",
|
||||
" type: stream",
|
||||
" path: php://stderr",
|
||||
" formatter: monolog.formatter.json",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "1e274b0dc496d088b68c4319826c4305bc1b9d46"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user