phacility/phabricator · error · PhutilArgumentUsageException
No log record exists for a daemon with ID "%s".
Error message
No log record exists for a daemon with ID "%s".
What it means
Error "No log record exists for a daemon with ID "%s"." thrown in phacility/phabricator.
Source
Thrown at src/applications/daemon/management/PhabricatorDaemonManagementLogWorkflow.php:48
));
}
public function execute(PhutilArgumentParser $args) {
$query = id(new PhabricatorDaemonLogQuery())
->setViewer($this->getViewer())
->setAllowStatusWrites(true);
$ids = $args->getArg('id');
if ($ids) {
$query->withIDs($ids);
}
$daemons = $query->execute();
$daemons = mpull($daemons, null, 'getID');
if ($ids) {
foreach ($ids as $id) {
if (!isset($daemons[$id])) {
throw new PhutilArgumentUsageException(
pht(
'No log record exists for a daemon with ID "%s".',
$id));
}
}
} else if (!$daemons) {
throw new PhutilArgumentUsageException(
pht('No log records exist for any daemons.'));
}
$console = PhutilConsole::getConsole();
$limit = $args->getArg('limit');
$logs = id(new PhabricatorDaemonLogEvent())->loadAllWhere(
'logID IN (%Ld) ORDER BY id DESC LIMIT %d',
mpull($daemons, 'getID'),
$limit);View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/daemon/management/PhabricatorDaemonManagementLogWorkflow.php:48 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21).
Data as JSON: /api/errors/531f90bcbdc65373.
Report an issue: GitHub.