added logging capability to getsentry