//
// ========================================================================
-// Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd.
+// Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
import java.io.IOException;
import java.io.InputStream;
-import java.lang.management.ManagementFactory;
import java.lang.reflect.Method;
import java.net.URL;
import java.security.AccessController;
import java.util.concurrent.ConcurrentMap;
import org.eclipse.jetty.util.Loader;
+import org.eclipse.jetty.util.Uptime;
import org.eclipse.jetty.util.annotation.ManagedAttribute;
/**
return;
__initialized = true;
- final long uptime=ManagementFactory.getRuntimeMXBean().getUptime();
-
try
{
Class<?> log_class = Loader.loadClass(Log.class, __logClass);
}
if (LOG!=null)
- LOG.info(String.format("Logging initialized @%dms",uptime));
+ LOG.info(String.format("Logging initialized @%dms",Uptime.getUptime()));
}
}