Added getThreadCount to LogDirectory.