Wokring on getting the new logging mechanism working