attempted to make logging work...