diag message processing