diff --git a/apps/updatenotification/lib/Controller/AdminController.php b/apps/updatenotification/lib/Controller/AdminController.php index 54c4daacca910..e10011d646867 100644 --- a/apps/updatenotification/lib/Controller/AdminController.php +++ b/apps/updatenotification/lib/Controller/AdminController.php @@ -135,7 +135,7 @@ private function getUserCount(): int { $userCount += $backendUsers; } else { // TODO what if the user count can't be determined? - $this->logger->warning('Can not determine user count for ' . get_class($backend), ['app' => 'lib']); + $this->logger->warning('Can not determine user count for ' . get_class($backend), ['app' => 'updatenotification']); } } } @@ -148,7 +148,7 @@ private function getUserCount(): int { $userCount = 0; // this should never happen - $this->logger->warning("Total user count was negative (users: $userCount, disabled: $disabledUsersCount)", ['app' => 'lib']); + $this->logger->warning("Total user count was negative (users: $userCount, disabled: $disabledUsersCount)", ['app' => 'updatenotification']); } return $userCount;