Server v1.2.
Various fixes. Next version will include optimizations to how the server handles requests.
This commit is contained in:
parent
0af97d1d4e
commit
a3d1da71a9
@ -1532,11 +1532,11 @@ public class delegationServices {
|
|||||||
if (myObj.createNewFile()) {
|
if (myObj.createNewFile()) {
|
||||||
System.out.println("Log File created: " + myObj.getName());
|
System.out.println("Log File created: " + myObj.getName());
|
||||||
FileWriter writer = new FileWriter(homedir + "/ocs/telemetry/" + UUID + "/" + applicationName + telemetryDetails + timeCurrent + ".txt", true);
|
FileWriter writer = new FileWriter(homedir + "/ocs/telemetry/" + UUID + "/" + applicationName + telemetryDetails + timeCurrent + ".txt", true);
|
||||||
writer.write("This bug report is for: " + applicationName);
|
writer.write("This Telemetry report is for: " + applicationName);
|
||||||
writer.write("\r\n");
|
writer.write("\r\n");
|
||||||
writer.write("Type of telemetry: " + telemetryType);
|
writer.write("Type of telemetry: " + telemetryType);
|
||||||
writer.write("\r\n");
|
writer.write("\r\n");
|
||||||
writer.write("More bug details: " + telemetryDetails);
|
writer.write("Telemetry: " + telemetryDetails);
|
||||||
writer.write("\r\n");
|
writer.write("\r\n");
|
||||||
writer.write("This is auto generated by the Obsidian Core backend services");
|
writer.write("This is auto generated by the Obsidian Core backend services");
|
||||||
writer.write("\r\n");
|
writer.write("\r\n");
|
||||||
@ -1573,7 +1573,7 @@ public class delegationServices {
|
|||||||
if (myObj.createNewFile()) {
|
if (myObj.createNewFile()) {
|
||||||
System.out.println("Log File created: " + myObj.getName());
|
System.out.println("Log File created: " + myObj.getName());
|
||||||
FileWriter writer = new FileWriter(homedir + "/ocs/telemetry/" + UUID + "/" + applicationName + telemetryDetails + timeCurrent + ".txt", true);
|
FileWriter writer = new FileWriter(homedir + "/ocs/telemetry/" + UUID + "/" + applicationName + telemetryDetails + timeCurrent + ".txt", true);
|
||||||
writer.write("This bug report is for: " + applicationName);
|
writer.write("This telemetry report is for: " + applicationName);
|
||||||
writer.write("\r\n");
|
writer.write("\r\n");
|
||||||
writer.write("The telemetry type is: " + telemetryType);
|
writer.write("The telemetry type is: " + telemetryType);
|
||||||
writer.write("\r\n");
|
writer.write("\r\n");
|
||||||
@ -1588,10 +1588,10 @@ public class delegationServices {
|
|||||||
writer.write(telemetryLog);
|
writer.write(telemetryLog);
|
||||||
writer.close();
|
writer.close();
|
||||||
} else {
|
} else {
|
||||||
System.out.println("Log already exists.");
|
System.out.println("telemetry already exists. (wow that's rare)");
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
System.out.println("An error occurred while attempting to log.");
|
System.out.println("An error occurred while attempting to save telemetry.");
|
||||||
}
|
}
|
||||||
BasicDBObject updateQuery = new BasicDBObject();
|
BasicDBObject updateQuery = new BasicDBObject();
|
||||||
updateQuery.append("$set",
|
updateQuery.append("$set",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.jamesquinley.DelegationServices;
|
package com.jamesquinley.DelegationServices;
|
||||||
|
|
||||||
public class status {
|
public class status {
|
||||||
public static boolean betaServer = true;
|
public static boolean betaServer = false;
|
||||||
public static String serverVersion = "1.1";
|
public static String serverVersion = "1.2";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user