Formating of log output