Fixed issue of SNAPSHOT logging dependency injection