Better log formatting