File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 21
21
use CakeDC \QueueMonitor \Core \DisableTrait ;
22
22
use CakeDC \QueueMonitor \Service \QueueMonitoringService ;
23
23
use Exception ;
24
+ use Psr \Log \LogLevel ;
24
25
25
26
/**
26
27
* QueueMonitoringNotify command.
@@ -64,7 +65,10 @@ public function buildOptionParser(ConsoleOptionParser $parser): ConsoleOptionPar
64
65
public function execute (Arguments $ args , ConsoleIo $ io )
65
66
{
66
67
if ($ this ->isDisabled ()) {
67
- $ this ->log ('Notification were not sent because Queue Monitor is disabled. ' );
68
+ $ this ->log (
69
+ 'Notification were not sent because Queue Monitor is disabled. ' ,
70
+ LogLevel::WARNING
71
+ );
68
72
69
73
return self ::CODE_SUCCESS ;
70
74
}
Original file line number Diff line number Diff line change @@ -65,7 +65,10 @@ public function buildOptionParser(ConsoleOptionParser $parser): ConsoleOptionPar
65
65
public function execute (Arguments $ args , ConsoleIo $ io )
66
66
{
67
67
if ($ this ->isDisabled ()) {
68
- $ this ->log ('Logs were not purged because Queue Monitor is disabled. ' );
68
+ $ this ->log (
69
+ 'Logs were not purged because Queue Monitor is disabled. ' ,
70
+ LogLevel::WARNING
71
+ );
69
72
70
73
return self ::CODE_SUCCESS ;
71
74
}
You can’t perform that action at this time.
0 commit comments