make the logging work