Can't we make this a variable that both logs use to set the format?