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

give the logger service argument explicitely #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Resources/config/amqp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<defaults public="false" autowire="true" autoconfigure="true" />

<service id="Wisembly\AmqpBundle\Processor\ConsumerFactory">
<argument type="service" id="logger" />

<tag name="monolog.logger" channel="amqp" />
</service>

Expand Down
2 changes: 2 additions & 0 deletions src/Resources/config/processors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<defaults public="false" autowire="true" autoconfigure="true" />

<service id="Wisembly\AmqpBundle\Processor\CommandProcessor">
<argument type="service" id="logger" />

<tag name="monolog.logger" channel="amqp" />
</service>

Expand Down