Temporary: Add logging for better debugging.