NextCloud SAML 调试

插入到 225 附近

                        $this->logger->debug('Jungle', ['app' => "===========debug begin===============" ]);
                        $this->logger->debug('Jungle', ['app' => var_export($auth->getAttributes(), true) ]);

                        $this->logger->debug('Jungle', ['app' => "===========debug end================" ]);

$this->autoprovisionIfPossible($auth->getAttributes()); 之前

配置文件中启用 debug

  'debug' => true,
  "loglevel" => "0",

默认的 log 文件位置 data/nextcloud.log

监控

tail -f data/nextcloud.log