Fix setup of console commands

This commit is contained in:
Timothy Warren 2020-08-21 19:26:54 -04:00
parent a692617101
commit a4cde0b28d

View File

@ -143,7 +143,7 @@ abstract class BaseCommand extends Command {
$appLogger->pushHandler(new RotatingFileHandler($APP_DIR . '/logs/app-cli.log', 2, Logger::WARNING));
$container->setLogger($appLogger);
foreach (['anilist-request-cli', 'kitsu-request-cli'] as $channel)
foreach (['kitsu-request', 'anilist-request', 'anilist-request-cli', 'kitsu-request-cli'] as $channel)
{
$logger = new Logger($channel);
$handler = new RotatingFileHandler( "{$APP_DIR}/logs/{$channel}.log", 2, Logger::WARNING);