tds/src/main/java/thredds/servlet/UsageLog.java
public static String setupNonRequestContext() {
    // Setup context.
    MDC.put("ID", Long.toString(logServerAccessId.incrementAndGet()));
    MDC.put("startTime", Long.toString(System.currentTimeMillis()));

    return "Non-request thread opening.";
  }
public static String setupNonRequestContext() {
    // Setup context.
    MDC.put("ID", Long.toString(logServerAccessId.incrementAndGet()));
    MDC.put("startTime", Long.toString(System.currentTimeMillis()));

    return "Non-request thread opening.";
  }
Gather context information for the current non-request thread and
return a log message appropriate for logging.
<p/>
<p>The following context information is gathered:
<ul>
<li>"ID" - an identifier for the current thread; and</li>
<li>"startTime" - the system time in millis when this method is called.</li>
</ul>
<p/>
<p>Call this method only for non-request servlet activities, e.g.,
during init() or destroy().
@return starting log message