diff --git a/core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php
index f09e3e3..b1cc3a7 100644
--- a/core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php
+++ b/core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php
@@ -86,6 +86,13 @@ public function __construct(MaintenanceModeInterface $maintenance_mode, ConfigFa
    *   The event to process.
    */
   public function onKernelRequestMaintenance(GetResponseEvent $event) {
+    // Uncomment this for scenario A, B, C.
+    // error_log('MaintenanceModeSubscriber (core, after routing)');
+    // error_log('request_path(): ' . request_path());
+    // error_log('current_path(): ' . current_path());
+    // error_log('from route match (alias: FALSE): ' . \Drupal\Core\Url::fromRouteMatch(\Drupal::routeMatch())->toString());
+    // error_log('from route match (alias: TRUE): ' . \Drupal\Core\Url::fromRouteMatch(\Drupal::routeMatch())->setOptions(['alias' => TRUE])->toString());
+
     $route_match = RouteMatch::createFromRequest($event->getRequest());
     if ($this->maintenanceMode->applies($route_match)) {
       if (!$this->maintenanceMode->exempt($this->account)) {
diff --git a/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php b/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php
index 1ccdea1..48ef193 100644
--- a/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php
+++ b/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php
@@ -49,6 +49,12 @@ public function __construct(HttpKernelInterface $http_kernel, DrupalKernelInterf
    */
   public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
     $this->drupalKernel->preHandle($request);
+    // Uncomment this for scenario C.
+    // error_log('KernelPreHandle (before alias is resolved)');
+    // error_log('request_path(): ' . request_path());
+    // error_log('current_path(): ' . current_path());
+    // error_log('from route match (alias: FALSE): ' . \Drupal\Core\Url::fromRouteMatch(\Drupal::routeMatch())->toString());
+    // error_log('from route match (alias: TRUE): ' . \Drupal\Core\Url::fromRouteMatch(\Drupal::routeMatch())->setOptions(['alias' => TRUE])->toString());
 
     return $this->httpKernel->handle($request, $type, $catch);
   }
diff --git a/core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php b/core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php
index 044c4b4..1bb1788 100644
--- a/core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php
+++ b/core/modules/user/src/EventSubscriber/MaintenanceModeSubscriber.php
@@ -57,6 +57,13 @@ public function __construct(MaintenanceModeInterface $maintenance_mode, AccountI
    *   The event to process.
    */
   public function onKernelRequestMaintenance(GetResponseEvent $event) {
+    // Uncomment this for scenario B, C.
+    // error_log('MaintenanceModeSubscriber (user module, before routing)');
+    // error_log('request_path(): ' . request_path());
+    // error_log('current_path(): ' . current_path());
+    // error_log('from route match (alias: FALSE): ' . \Drupal\Core\Url::fromRouteMatch(\Drupal::routeMatch())->toString());
+    // error_log('from route match (alias: TRUE): ' . \Drupal\Core\Url::fromRouteMatch(\Drupal::routeMatch())->setOptions(['alias' => TRUE])->toString());
+
     $request = $event->getRequest();
     $route_match = RouteMatch::createFromRequest($request);
     $path = $request->attributes->get('_system_path');
