Added logging preference