Towards logging layer refactoring.