Updated logging 2