Merge branch '565-adopt-branch-557' into 'master-fix'
Resolve "Adopt branch 557" See merge request jankstudio/resq!669
This commit is contained in:
commit
3304d64bcf
8 changed files with 3213 additions and 1212 deletions
|
|
@ -25,6 +25,7 @@
|
||||||
"symfony/flex": "^1.0",
|
"symfony/flex": "^1.0",
|
||||||
"symfony/framework-bundle": "^4.0",
|
"symfony/framework-bundle": "^4.0",
|
||||||
"symfony/maker-bundle": "^1.0",
|
"symfony/maker-bundle": "^1.0",
|
||||||
|
"symfony/monolog-bundle": "^3.7",
|
||||||
"symfony/orm-pack": "^1.0",
|
"symfony/orm-pack": "^1.0",
|
||||||
"symfony/process": "^4.0",
|
"symfony/process": "^4.0",
|
||||||
"symfony/profiler-pack": "^1.0",
|
"symfony/profiler-pack": "^1.0",
|
||||||
|
|
|
||||||
4344
composer.lock
generated
4344
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -14,4 +14,5 @@ return [
|
||||||
Catalyst\APIBundle\CatalystAPIBundle::class => ['all' => true],
|
Catalyst\APIBundle\CatalystAPIBundle::class => ['all' => true],
|
||||||
Catalyst\AuthBundle\CatalystAuthBundle::class => ['all' => true],
|
Catalyst\AuthBundle\CatalystAuthBundle::class => ['all' => true],
|
||||||
Catalyst\MenuBundle\CatalystMenuBundle::class => ['all' => true],
|
Catalyst\MenuBundle\CatalystMenuBundle::class => ['all' => true],
|
||||||
|
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
19
config/packages/dev/monolog.yaml
Normal file
19
config/packages/dev/monolog.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
monolog:
|
||||||
|
handlers:
|
||||||
|
main:
|
||||||
|
type: stream
|
||||||
|
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
|
||||||
|
channels: ["!event", "!doctrine", "!console"]
|
||||||
8
config/packages/prod/deprecations.yaml
Normal file
8
config/packages/prod/deprecations.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
# 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: php://stderr
|
||||||
18
config/packages/prod/monolog.yaml
Normal file
18
config/packages/prod/monolog.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
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: php://stderr
|
||||||
|
level: debug
|
||||||
|
formatter: monolog.formatter.json
|
||||||
|
console:
|
||||||
|
type: console
|
||||||
|
process_psr_3_messages: false
|
||||||
|
channels: ["!event", "!doctrine"]
|
||||||
|
|
||||||
13
config/packages/test/monolog.yaml
Normal file
13
config/packages/test/monolog.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
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
|
||||||
|
|
||||||
21
symfony.lock
21
symfony.lock
|
|
@ -119,6 +119,9 @@
|
||||||
"microsoft/azure-storage-common": {
|
"microsoft/azure-storage-common": {
|
||||||
"version": "1.5.1"
|
"version": "1.5.1"
|
||||||
},
|
},
|
||||||
|
"monolog/monolog": {
|
||||||
|
"version": "2.2.0"
|
||||||
|
},
|
||||||
"nikic/php-parser": {
|
"nikic/php-parser": {
|
||||||
"version": "v4.1.0"
|
"version": "v4.1.0"
|
||||||
},
|
},
|
||||||
|
|
@ -248,6 +251,24 @@
|
||||||
"symfony/mime": {
|
"symfony/mime": {
|
||||||
"version": "v4.3.0"
|
"version": "v4.3.0"
|
||||||
},
|
},
|
||||||
|
"symfony/monolog-bridge": {
|
||||||
|
"version": "v5.2.7"
|
||||||
|
},
|
||||||
|
"symfony/monolog-bundle": {
|
||||||
|
"version": "3.7",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "master",
|
||||||
|
"version": "3.7",
|
||||||
|
"ref": "329f6a5ef2e7aa033f802be833ef8d1268dd0848"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"config/packages/dev/monolog.yaml",
|
||||||
|
"config/packages/prod/deprecations.yaml",
|
||||||
|
"config/packages/prod/monolog.yaml",
|
||||||
|
"config/packages/test/monolog.yaml"
|
||||||
|
]
|
||||||
|
},
|
||||||
"symfony/orm-pack": {
|
"symfony/orm-pack": {
|
||||||
"version": "v1.0.5"
|
"version": "v1.0.5"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue