Added logging subsystem.