protected long getThreadId() {
    // fix for bug 37861
    return Thread.currentThread().getId();
  }
Sets the writer's level.

@throws IllegalArgumentException if level is not in legal range
geode-core/src/main/java/org/apache/geode/internal/logging/PureLogWriter.java