log thread splitter for single or multiple threads