logging now works.