Updated logging functionm, calls