Updated logging subsystem. Now works.