Configure logger