Updated logging struct