edit CommunicationManager threadCount, add writeLogV2