Formatting of diagnostics message