mirror of
https://github.com/friendica/friendica
synced 2025-01-10 06:04:43 +00:00
Fixup LogChannels
This commit is contained in:
parent
40fbb02149
commit
5fe9d53cfa
5 changed files with 5 additions and 7 deletions
|
@ -32,4 +32,4 @@ $argv = $_SERVER['argv'] ?? [];
|
|||
array_splice($argv, 1, 0, "daemon");
|
||||
|
||||
$container = \Friendica\Core\Container::fromDice($dice);
|
||||
\Friendica\Core\Console::create($container, $_SERVER['argv'] ?? [])->execute();
|
||||
\Friendica\Core\Console::create($container, $argv)->execute();
|
||||
|
|
|
@ -27,4 +27,4 @@ $argv = $_SERVER['argv'] ?? [];
|
|||
array_splice($argv, 1, 0, "jetstream");
|
||||
|
||||
$container = \Friendica\Core\Container::fromDice($dice);
|
||||
\Friendica\Core\Console::create($container, $_SERVER['argv'] ?? [])->execute();
|
||||
\Friendica\Core\Console::create($container, $argv)->execute();
|
||||
|
|
|
@ -29,4 +29,4 @@ $argv = $_SERVER['argv'] ?? [];
|
|||
array_splice($argv, 1, 0, "worker");
|
||||
|
||||
$container = \Friendica\Core\Container::fromDice($dice);
|
||||
\Friendica\Core\Console::create($container, $_SERVER['argv'] ?? [])->execute();
|
||||
\Friendica\Core\Console::create($container, $argv)->execute();
|
||||
|
|
|
@ -93,7 +93,7 @@ HELP;
|
|||
|
||||
protected function doExecute()
|
||||
{
|
||||
if ($this->executable !== 'bin/console.php') {
|
||||
if (substr($this->executable,-strlen('bin/console.php')) !== 'bin/console.php') {
|
||||
$this->out(sprintf("'%s' is deprecated and will removed. Please use 'bin/console.php daemon' instead", $this->executable));
|
||||
}
|
||||
|
||||
|
@ -101,8 +101,6 @@ HELP;
|
|||
throw new RuntimeException("Friendica isn't properly installed yet");
|
||||
}
|
||||
|
||||
$this->logger->warning('blah!');
|
||||
|
||||
$this->mode->setExecutor(Mode::DAEMON);
|
||||
|
||||
$this->config->reload();
|
||||
|
|
|
@ -24,7 +24,7 @@ use RuntimeException;
|
|||
*/
|
||||
final class JetstreamDaemon extends AbstractConsole
|
||||
{
|
||||
public const LOG_CHANNEL = LogChannel::AUTH_JABBERED;
|
||||
public const LOG_CHANNEL = LogChannel::DAEMON;
|
||||
|
||||
private Mode $mode;
|
||||
private IManageConfigValues $config;
|
||||
|
|
Loading…
Reference in a new issue