Skip to content

Commit

Permalink
Added logging channel for Supervisor logger
Browse files Browse the repository at this point in the history
Signed-off-by: RJ Garcia <[email protected]>
  • Loading branch information
ragboyjr committed Apr 22, 2020
1 parent 1f4a685 commit 7db3cb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/ProcessManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Krak\SymfonyMessengerAutoScale;

use Psr\Log\LoggerInterface;

interface ProcessManager
{
/** @return mixed a process ref */
Expand Down
4 changes: 3 additions & 1 deletion src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
</service>
<service id="Krak\SymfonyMessengerAutoScale\RaiseAlerts" alias="Krak\SymfonyMessengerAutoScale\RaiseAlerts\ChainRaiseAlerts" />

<service id="Krak\SymfonyMessengerAutoScale\Supervisor"/>
<service id="Krak\SymfonyMessengerAutoScale\Supervisor">
<tag name="monolog.logger" channel="messenger_auto_scale"/>
</service>

<service id="Krak\SymfonyMessengerAutoScale\Command\ConsumeCommand"/>
<service id="Krak\SymfonyMessengerAutoScale\Command\AlertCommand"/>
Expand Down

0 comments on commit 7db3cb7

Please sign in to comment.