auto-config of rolling logger