10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee62741 + d69d571 commit cf728a5Copy full SHA for cf728a5
src/Symfony/Component/HttpKernel/Log/Logger.php
@@ -40,7 +40,7 @@ class Logger extends AbstractLogger
40
public function __construct($minLevel = null, $output = 'php://stderr', callable $formatter = null)
41
{
42
if (null === $minLevel) {
43
- $minLevel = LogLevel::WARNING;
+ $minLevel = 'php://stdout' === $output || 'php://stderr' === $output ? LogLevel::CRITICAL : LogLevel::WARNING;
44
45
if (isset($_ENV['SHELL_VERBOSITY']) || isset($_SERVER['SHELL_VERBOSITY'])) {
46
switch ((int) (isset($_ENV['SHELL_VERBOSITY']) ? $_ENV['SHELL_VERBOSITY'] : $_SERVER['SHELL_VERBOSITY'])) {
0 commit comments