added logging for level end