Updated logging system.