From c4f51228fe74343dd904f886bd2b780b9f7ff8a9 Mon Sep 17 00:00:00 2001 From: hns Date: Fri, 28 Nov 2003 22:17:10 +0000 Subject: [PATCH] make sure logdir is not null in getLogger() --- src/helma/framework/core/Application.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/framework/core/Application.java b/src/helma/framework/core/Application.java index 361865e1..39404077 100644 --- a/src/helma/framework/core/Application.java +++ b/src/helma/framework/core/Application.java @@ -1306,7 +1306,7 @@ public final class Application implements IPathElement, Runnable { * Get a logger object to log events for this application. */ protected Log getLogger(String logname) { - String logdir = props.getProperty("logdir"); + String logdir = props.getProperty("logdir", "log"); if ("console".equals(logdir) || "console".equals(logname)) { return Logging.getConsoleLog();