/
config_prod.yml
38 lines (34 loc) · 1.15 KB
/
config_prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
imports:
- { resource: config.yml }
- { resource: sylius_config_prod.yml }
- { resource: ezplatform_prod.yml }
# Example below would make sure some of the symfony caches are written to apc / redis instead of disk
# Make sure to verify if cache clearing is done as you expect when doing such changes.
#framework:
# validation:
# cache: validator.mapping.cache.doctrine.apc
# serializer:
# cache: serializer.mapping.cache.apc
#doctrine:
# orm:
# metadata_cache_driver: apc
# query_cache_driver: apc
## Result (& the experimental Second level) cache needs to be shared among servers so should use for instance Redis
# result_cache_driver:
# type: redis
# host:
# port:
monolog:
handlers:
main:
type: fingers_crossed
# eZ Platform sets this to critical instead of error to avoid too verbose logs in prod
action_level: critical
handler: nested
nested:
type: '%log_type%'
path: '%log_path%'
level: debug
console:
type: console
process_psr_3_messages: false