Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

Commit

Permalink
fix: allow defining no log file path to enable logging to stdout (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
supersmile2009 committed Aug 3, 2020
1 parent dd67b4b commit eea4a4f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -212,7 +212,7 @@ public function getConfigTreeBuilder(): TreeBuilder
->addDefaultsIfNotSet()
->children()
->scalarNode('log_file')
->cannotBeEmpty()
// TODO: NEXT MAJOR - remove default value
->defaultValue('%kernel.logs_dir%/swoole_%kernel.environment%.log')
->end()
->enumNode('log_level')
Expand Down

0 comments on commit eea4a4f

Please sign in to comment.