Dead tree trunks have significant ecosystem functions related to biodiversity and biogeochemical cycles. When lying on the soil surface, they are colonized by an array of invertebrate fauna, but what determines their community composition is still unclear. We apply community assembly theory to colonization of tree logs by invertebrates. During early decomposition, the attached bark is critically important as an environment filter for community assembly through habitat provision. Specifically, we hypothesized that the more dissimilar bark traits were between tree species, the more their faunal community compositions would differ. We tested this hypothesis by investigating the effects of bark traits on the invertebrate communities in the earl...