/
dbal_logging.xml
39 lines (37 loc) · 1.37 KB
/
dbal_logging.xml
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
39
<?xml version="1.0" ?>
<srv:container xmlns="http://symfony.com/schema/dic/doctrine"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:srv="http://symfony.com/schema/dic/services"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">
<config>
<dbal default-connection="mysql">
<connection
name="log"
logging="true"
profiling="false" />
<connection
name="profile"
logging="false"
profiling="true" />
<connection
name="profile_with_backtrace"
logging="false"
profiling="true"
profiling-collect-backtrace="true" />
<connection
name="backtrace_without_profile"
logging="false"
profiling="false"
profiling-collect-backtrace="true" />
<connection
name="both"
logging="true"
profiling="true" />
<connection
name="none"
logging="false"
profiling="false" />
</dbal>
</config>
</srv:container>