Skip to content

Commit c6a99df

Browse files
committed
minor #9698 [FrameworkBundle] framework.php_errors.log log level (snoek09, javiereguiluz)
This PR was merged into the 4.1 branch. Discussion ---------- [FrameworkBundle] framework.php_errors.log log level This fixes #9649 Commits ------- 4cd37a5 Explained more in detail 5ab3753 php_errors.log int value (log level)
2 parents 544df25 + 4cd37a5 commit c6a99df

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

reference/configuration/framework.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1740,9 +1740,14 @@ php_errors
17401740
log
17411741
...
17421742

1743-
**type**: ``boolean`` **default**: ``false``
1743+
**type**: ``boolean|int`` **default**: ``false``
17441744

17451745
Use the application logger instead of the PHP logger for logging PHP errors.
1746+
When an integer value is used, it also sets the log level. Those integer
1747+
values must be the same used in the `error_reporting PHP option`_.
1748+
1749+
.. versionadded:: 4.1
1750+
The support for integers in the ``log`` option was introduced in Symfony 4.1.
17461751

17471752
throw
17481753
.....
@@ -2097,3 +2102,4 @@ Full Default Configuration
20972102
.. _`blue/green deployment`: http://martinfowler.com/bliki/BlueGreenDeployment.html
20982103
.. _`gulp-rev`: https://www.npmjs.com/package/gulp-rev
20992104
.. _`webpack-manifest-plugin`: https://www.npmjs.com/package/webpack-manifest-plugin
2105+
.. _`error_reporting PHP option`: https://secure.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting

0 commit comments

Comments
 (0)