make logroot_mode configurable