To cultivate mushrooms on logs or stumps, you will need to select suitable tree species, cut the logs or collect stumps during the dormant season, inoculate them with mushroom spawn plugs or dowels, and provide proper environmental conditions such as shade and moisture.