Woodlice live under logs for several reasons:
- Protection from Predators: Logs provide shelter from birds, insects, and other predators.
- Moisture Retention: As terrestrial crustaceans, woodlice need damp conditions to avoid drying out.
- Food Source: Logs provide decaying wood and organic matter that woodlice eat.
- Temperature Regulation: Logs insulate against extreme temperature changes.
- Mating and Reproduction: Some species gather under logs to mate.
Woodlice can also be found under rocks, leaf litter, pots, and mulch where conditions are similar.