Still trying to make logging work.