Minecraft wiki entry for Spawner, associated text: For a spawner that generates mobs that spawn only in dark conditions (light level = 0), a torch placed on any side or top of the spawner is sufficient to disable it for the whole 9×9×3 volume.