mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-02 18:33:54 +00:00
to hopefully finally find and fix bug 736, added the stack trace to the INFO log for adding a regatta leaderboard
This commit is contained in:
1 parent
f67aaa19eb
commit
a2bae85b61
2 files changed
+10
-4
No files matched your search
+6
@@ -1,8 +1,11 @@
|
||||
package com.sap.sailing.server.impl;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.ObjectInputStream;
|
||||
import java.io.ObjectOutputStream;
|
||||
import java.io.OutputStreamWriter;
|
||||
import java.io.PrintWriter;
|
||||
import java.io.Serializable;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.SocketException;
|
||||
@@ -268,6 +271,9 @@ public class RacingEventServiceImpl implements RacingEventService, RegattaListen
|
||||
public RegattaLeaderboard addRegattaLeaderboard(RegattaIdentifier regattaIdentifier, int[] discardThresholds) {
|
||||
Regatta regatta = getRegatta(regattaIdentifier);
|
||||
logger.info("adding regatta leaderboard for regatta "+regatta==null?"null":regatta.getName()+" to "+this);
|
||||
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
||||
new Exception().printStackTrace(new PrintWriter(new OutputStreamWriter(bos)));
|
||||
logger.info(" at "+new String(bos.toByteArray()));
|
||||
RegattaLeaderboard result = null;
|
||||
if (regatta != null) {
|
||||
result = new RegattaLeaderboardImpl(regatta, new ScoreCorrectionImpl(), new ResultDiscardingRuleImpl(
|
||||
|
||||
+4
-4
@@ -141,17 +141,17 @@
|
||||
<!-- proxy -->
|
||||
<argLine>-Dfile.encoding=cp1252 -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -Dtractrac.tunnel=true -Dtractrac.tunnel.host=10.18.206.73 -Dmongo.host=10.18.206.73 -Dmongo.dbName=winddbTest -Dreplication.brokerURL=tcp://localhost:61615 -Xmx1024m -XX:PermSize=256m -XX:-UseGCOverheadLimit -XX:+UseParallelGC</argLine>
|
||||
<!-- -->
|
||||
<!-- no proxy
|
||||
<!-- no proxy -->
|
||||
<argLine>-Dfile.encoding=cp1252 -Dmongo.dbName=winddbTest -Dreplication.brokerURL=tcp://localhost:61615 -Xmx1024m -XX:PermSize=256m -XX:-UseGCOverheadLimit -XX:+UseParallelGC</argLine>
|
||||
-->
|
||||
<!-- -->
|
||||
<!-- -->
|
||||
<!-- debug, proxy
|
||||
<argLine>-Dfile.encoding=cp1252 -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 -Dmongo.dbName=winddbTest -Dreplication.brokerURL=tcp://localhost:61615 -Xmx1024m -XX:PermSize=256m -XX:-UseGCOverheadLimit -XX:+UseParallelGC</argLine>
|
||||
-->
|
||||
|
||||
<!-- debug, no proxy
|
||||
<!-- debug, no proxy -->
|
||||
<argLine>-Dfile.encoding=cp1252 -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y -Dmongo.dbName=winddbTest -Dreplication.brokerURL=tcp://localhost:61615 -Xmx1024m -XX:PermSize=256m -XX:-UseGCOverheadLimit -XX:+UseParallelGC</argLine>
|
||||
-->
|
||||
<!-- -->
|
||||
|
||||
<excludes>
|
||||
<exclude>**/*$*</exclude> <!-- Exclude inner classes -->
|
||||
|
||||
Reference in new issue
Block a user