made logger exchangeable