diff --git a/doc/README b/doc/README index f817fbbba53..13ac6e30c67 100755 --- a/doc/README +++ b/doc/README @@ -255,7 +255,12 @@ into one in the future. /admin action=listracesinevent: outputs a JSON object describing the - races and their paramURLs available for tracking + races and their paramURLs available for tracking in + the following form: + [ { "name": ..., // race name + "ID": ..., // a UUID for the race + "paramURL": ..., // the paramURL to use for addrace + "replayURL": ... } ...]// URL to use for TracTrac 2D view eventJSONURL: the URL from where metadata about the entire regatta can be obtained; the resulting document includes the parameter and simulation URLs for the individual diff --git a/java/com.sap.sailing.server/src/com/sap/sailing/server/Activator.java b/java/com.sap.sailing.server/src/com/sap/sailing/server/Activator.java index a52781cb9d2..132970076c0 100755 --- a/java/com.sap.sailing.server/src/com/sap/sailing/server/Activator.java +++ b/java/com.sap.sailing.server/src/com/sap/sailing/server/Activator.java @@ -1,6 +1,9 @@ package com.sap.sailing.server; +import java.nio.charset.Charset; import java.util.Hashtable; +import java.util.logging.Level; +import java.util.logging.Logger; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; @@ -14,6 +17,8 @@ import com.sap.sailing.domain.base.RaceDefinition; import com.sap.sailing.util.Util.Triple; public class Activator implements BundleActivator, ServiceListener { + private static final Logger logger = Logger.getLogger(Activator.class.getName()); + private static BundleContext fContext; static BundleContext getDefault() { @@ -26,6 +31,8 @@ public class Activator implements BundleActivator, ServiceListener { Hashtable props = new Hashtable(); // register the service context.registerService(RacingEventService.class.getName(), service, props); + logger.log(Level.INFO, "Started "+context.getBundle().getSymbolicName()+". Character encoding: "+ + Charset.defaultCharset()); } public void stop(BundleContext context) throws Exception {