Added better log formatting.