more logging to debug production issue for image api