Set log formats from configs