injects logging resources