This commit is contained in:
jrandom
2004-07-31 23:22:38 +00:00
committed by zzz
parent fcb109f46d
commit 09ed1b1f9e

View File

@ -41,11 +41,13 @@ public class AdminManager implements Service {
try {
int val = Integer.parseInt(str);
port = val;
} catch (NumberFormatException nfe) {
_log.warn("Invalid admin port specified [" + str + "]", nfe);
}
}
_log.info("Starting up admin listener on port " + port);
} catch (NumberFormatException nfe) {
_log.warn("Invalid admin port specified [" + str + "], using the default " + DEFAULT_ADMIN_PORT, nfe);
}
} else {
_log.warn("Router admin port not specified, using the default " + DEFAULT_ADMIN_PORT);
}
startup(port);
}