Making logging work.