Added prefix handling - ERR and LOGED