fixed the issuse that widget mananger not injected into logger widget