"console" as logdir will direct log stream to standard out

This commit is contained in:
hns 2001-03-07 21:53:03 +00:00
parent 8e86be7c60
commit 2a08d8150f

View file

@ -46,7 +46,7 @@ public abstract class IServer {
public static Logger getLogger () {
if (logger == null) {
String logDir = sysProps.getProperty ("logdir");
if (logDir == null) {
if (logDir == null || "console".equalsIgnoreCase (logDir)) {
logger = new Logger (System.out);
} else {
try {