Add logging for manual scanning