Replaced random logging with a centralized DTLog class