ImageServing: add debug logging