Skip to content

Commit ddf5c40

Browse files
committed
Merge branch '2.1'
2 parents dccf123 + 44a963f commit ddf5c40

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

components/locale.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ When using the ClassLoader component following code is sufficient to supplement
6666
$localeCodes = Locale::getLocales();
6767
6868
// Get ICU versions
69-
$icuVersion = Locale::getIcuVersion();
69+
$icuVersion = Locale::getIntlIcuVersion();
7070
$icuDataVersion = Locale::getIcuDataVersion();
7171
7272
.. _Packagist: https://packagist.org/packages/symfony/locale

cookbook/logging/monolog.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ allows you to log the messages in several ways easily.
5555
# app/config/config*.yml
5656
monolog:
5757
handlers:
58-
syslog:
58+
applog:
5959
type: stream
6060
path: /var/log/symfony.log
6161
level: error
@@ -66,7 +66,9 @@ allows you to log the messages in several ways easily.
6666
file:
6767
type: stream
6868
level: debug
69-
69+
syslog:
70+
type: syslog
71+
level: error
7072
.. code-block:: xml
7173
7274
<container xmlns="http://symfony.com/schema/dic/services"
@@ -77,7 +79,7 @@ allows you to log the messages in several ways easily.
7779
7880
<monolog:config>
7981
<monolog:handler
80-
name="syslog"
82+
name="applog"
8183
type="stream"
8284
path="/var/log/symfony.log"
8385
level="error"
@@ -93,6 +95,11 @@ allows you to log the messages in several ways easily.
9395
type="stream"
9496
level="debug"
9597
/>
98+
<monolog:handler
99+
name="syslog"
100+
type="syslog"
101+
level="error"
102+
/>
96103
</monolog:config>
97104
</container>
98105

0 commit comments

Comments
 (0)