Add log formats to config