From 219095404a30725bfcb99c567735b3d822b3b390 Mon Sep 17 00:00:00 2001 From: zzz Date: Sat, 17 Oct 2009 02:22:35 +0000 Subject: [PATCH] dont dump the whole JVM if we cant open the log file --- core/java/src/net/i2p/util/LogWriter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/src/net/i2p/util/LogWriter.java b/core/java/src/net/i2p/util/LogWriter.java index 1437b9f4a..829b91d7b 100644 --- a/core/java/src/net/i2p/util/LogWriter.java +++ b/core/java/src/net/i2p/util/LogWriter.java @@ -153,13 +153,13 @@ class LogWriter implements Runnable { if (!parent.exists()) { boolean ok = parent.mkdirs(); if (!ok) { - System.err.println("Unable to create the parent directy: " + parent.getAbsolutePath()); - System.exit(0); + System.err.println("Unable to create the parent directory: " + parent.getAbsolutePath()); + //System.exit(0); } } if (!parent.isDirectory()) { System.err.println("wtf, we cannot put the logs in a subdirectory of a plain file! we want to stre the log as " + f.getAbsolutePath()); - System.exit(0); + //System.exit(0); } } try {