Formating output for increased logging capabilities