merge of '3b6726af78088f84c156c7d5cb40aa0b73946465'

and '5b76774cf78d7a3537006860fc78c00c191c9cb0'
This commit is contained in:
kytv
2012-07-26 20:50:39 +00:00
2 changed files with 7 additions and 4 deletions

View File

@ -115,7 +115,6 @@ import net.i2p.util.SimpleTimer2;
*/ */
public class BOB { public class BOB {
private final static Log _log = new Log(BOB.class);
public final static String PROP_CONFIG_LOCATION = "BOB.config"; public final static String PROP_CONFIG_LOCATION = "BOB.config";
public final static String PROP_BOB_PORT = "BOB.port"; public final static String PROP_BOB_PORT = "BOB.port";
public final static String PROP_BOB_HOST = "BOB.host"; public final static String PROP_BOB_HOST = "BOB.host";
@ -137,7 +136,7 @@ public class BOB {
*/ */
public static void info(String arg) { public static void info(String arg) {
System.out.println("INFO:" + arg); System.out.println("INFO:" + arg);
_log.info(arg); (new Log(BOB.class)).info(arg);
} }
/** /**
@ -147,7 +146,7 @@ public class BOB {
*/ */
public static void warn(String arg) { public static void warn(String arg) {
System.out.println("WARNING:" + arg); System.out.println("WARNING:" + arg);
_log.warn(arg); (new Log(BOB.class)).warn(arg);
} }
/** /**
@ -157,7 +156,7 @@ public class BOB {
*/ */
public static void error(String arg) { public static void error(String arg) {
System.out.println("ERROR: " + arg); System.out.println("ERROR: " + arg);
_log.error(arg); (new Log(BOB.class)).error(arg);
} }
/** /**
@ -185,6 +184,7 @@ public class BOB {
SimpleTimer2 Y2 = SimpleTimer2.getInstance(); SimpleTimer2 Y2 = SimpleTimer2.getInstance();
i = Y1.hashCode(); i = Y1.hashCode();
i = Y2.hashCode(); i = Y2.hashCode();
Log _log = new Log(BOB.class);
try { try {
{ {
File cfg = new File(configLocation); File cfg = new File(configLocation);

View File

@ -2,6 +2,9 @@
* Update geoip.txt based on Maxmind GeoLite Country database from 2012-07-04 * Update geoip.txt based on Maxmind GeoLite Country database from 2012-07-04
* Finnish, French, German, Spanish and Swedish translation updates from TX * Finnish, French, German, Spanish and Swedish translation updates from TX
2012-07-26 sponge
* BOB Fix static references to Log
2012-07-24 sponge 2012-07-24 sponge
* BOB reset spin flag to enable restart from zap command * BOB reset spin flag to enable restart from zap command