Changed log messaage build in def_sts to include part of the status name except for M_CODE