From b87498099903c66d9144081c46e80db4f1a55e7b Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Sat, 4 Nov 2023 11:58:32 -0500 Subject: [PATCH] Add logging to the legacy controller To figure out what app is calling this --- app/controllers/legacy_image_service_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/legacy_image_service_controller.rb b/app/controllers/legacy_image_service_controller.rb index 0752a13a..3a857aa6 100644 --- a/app/controllers/legacy_image_service_controller.rb +++ b/app/controllers/legacy_image_service_controller.rb @@ -8,6 +8,7 @@ class LegacyImageServiceController < ApplicationController ## # Redirect legacy image requests to their IIIF equivalents def show + logger.info(" HTTP Referer: #{request.referer[0..100]}") redirect_to iiif_path(iiif_options) end