minor correction in log messages

This commit is contained in:
Uwe Steinmann 2025-10-24 10:52:33 +02:00
parent ff4b3d7722
commit fd436a06fa

View File

@ -1695,7 +1695,7 @@ class SeedDMS_ExtPaperless_RestAPI_Auth { /* {{{ */
$settings = $this->container->get('config');
$logger = $this->container->get('logger');
$logger->log("Invoke paperless middleware for method ".$request->getMethod()." on '".$request->getUri()->getPath()."'", PEAR_LOG_INFO);
$logger->log("Invoke paperless AuthMiddleware for method ".$request->getMethod()." on '".$request->getUri()->getPath()."'", PEAR_LOG_INFO);
/* Skip this middleware if the authentication was already successful */
$userobj = null;
@ -1802,7 +1802,7 @@ class SeedDMS_ExtPaperless_RestAPI_Auth { /* {{{ */
/* Pretent to be paperless ngx 1.13.0 with api version 2 */
$response = $response->withHeader('x-api-version', '2')->withHeader('x-version', '1.13.0');
$logger->log("End of paperless middleware for method ".$request->getMethod()." on '".$request->getUri()->getPath()."'", PEAR_LOG_INFO);
$logger->log("End of paperless AuthMiddleware for method ".$request->getMethod()." on '".$request->getUri()->getPath()."'", PEAR_LOG_INFO);
return $response;
} /* }}} */
} /* }}} */