Skip to content

Commit

Permalink
Remove default maker config (#61)
Browse files Browse the repository at this point in the history
* Remove default maker config

* Exclude migrations from services

* Revert log path changes done by recipe
  • Loading branch information
PawelPodkalicki authored Jul 13, 2022
1 parent 8ba2572 commit edc503f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
5 changes: 0 additions & 5 deletions config/packages/dev/maker.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions config/packages/monolog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ when@dev:
handlers:
main:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
path: '%env(resolve:LOG_FILE_PATH)%'
level: debug
channels: ["!event"]
# uncomment to get logging in your browser
Expand All @@ -34,7 +34,7 @@ when@test:
channels: ["!event"]
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
path: '%env(resolve:LOG_FILE_PATH)%'
level: debug

when@prod:
Expand All @@ -48,7 +48,7 @@ when@prod:
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
nested:
type: stream
path: php://stderr
path: '%env(resolve:LOG_FILE_PATH)%'
level: debug
formatter: monolog.formatter.json
console:
Expand All @@ -58,4 +58,4 @@ when@prod:
deprecation:
type: stream
channels: [deprecation]
path: php://stderr
path: '%env(resolve:LOG_FILE_PATH)%'
1 change: 1 addition & 0 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
exclude:
- '../src/DependencyInjection/'
- '../src/Entity/'
- '../src/Infrastructure/Migrations/'
- '../src/Kernel.php'

# add more service definitions when explicit configuration is needed
Expand Down

0 comments on commit edc503f

Please sign in to comment.