aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-06-04 06:14:44 +0200
committerJoas Schilling <coding@schilljs.com>2025-06-04 06:14:44 +0200
commit9ec64ff578cec5492b0fe5e3f72e99a592c0af51 (patch)
tree01b5c0a979f18ba2e03f0d695cc4319f50b40c5e
parentea58ce9d4a89119a202e19b63537be808378b5d3 (diff)
downloadnextcloud-server-9ec64ff578cec5492b0fe5e3f72e99a592c0af51.tar.gz
nextcloud-server-9ec64ff578cec5492b0fe5e3f72e99a592c0af51.zip
More logs
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/private/AppFramework/Bootstrap/RegistrationContext.php3
-rw-r--r--lib/private/Notification/Manager.php5
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/private/AppFramework/Bootstrap/RegistrationContext.php b/lib/private/AppFramework/Bootstrap/RegistrationContext.php
index c567d7154e3..e2449871fa8 100644
--- a/lib/private/AppFramework/Bootstrap/RegistrationContext.php
+++ b/lib/private/AppFramework/Bootstrap/RegistrationContext.php
@@ -528,7 +528,7 @@ class RegistrationContext {
}
public function registerNotifierService(string $appId, string $class): void {
- $this->logger->warning('✅ RegistrationContext::registerNotifierService(' . $appId . ', ' . $class . ')');
+ $this->logger->warning('RegistrationContext::registerNotifierService(' . $appId . ', ' . $class . ')');
$this->notifierServices[] = new ServiceRegistration($appId, $class);
}
@@ -886,6 +886,7 @@ class RegistrationContext {
* @return ServiceRegistration<INotifier>[]
*/
public function getNotifierServices(): array {
+ $this->logger->warning('✅ RegistrationContext::getNotifierServices(): ' . count($this->notifierServices));
return $this->notifierServices;
}
diff --git a/lib/private/Notification/Manager.php b/lib/private/Notification/Manager.php
index e9d564ac7b2..9046a3a8f0e 100644
--- a/lib/private/Notification/Manager.php
+++ b/lib/private/Notification/Manager.php
@@ -74,7 +74,7 @@ class Manager implements IManager {
* @since 17.0.0
*/
public function registerApp(string $appClass): void {
- $this->logger->warning('✅ registerApp(' . $appClass . ')');
+ $this->logger->warning('Manager::registerApp(' . $appClass . ')');
// other apps may want to rely on the 'main' notification app so make it deterministic that
// the 'main' notification app adds it's notifications first and removes it's notifications last
if ($appClass === \OCA\Notifications\App::class) {
@@ -108,7 +108,7 @@ class Manager implements IManager {
* @since 17.0.0
*/
public function registerNotifierService(string $notifierService): void {
- $this->logger->warning('✅ registerNotifierService(' . $notifierService . ')');
+ $this->logger->warning('Manager::registerNotifierService(' . $notifierService . ')');
$this->notifierClasses[] = $notifierService;
}
@@ -150,6 +150,7 @@ class Manager implements IManager {
* @return INotifier[]
*/
public function getNotifiers(): array {
+ $this->logger->warning('✅ Manager::getNotifiers(): ' . json_encode($this->parsedRegistrationContext));
if (!$this->parsedRegistrationContext) {
$notifierServices = $this->coordinator->getRegistrationContext()->getNotifierServices();
foreach ($notifierServices as $notifierService) {