always shutdown log, fixes zombie processes in init stop script

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7780 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
f1ori 14 years ago
parent 115abc8917
commit f87865a50b

@ -927,6 +927,8 @@ public final class yacy {
*/ */
public static void main(String args[]) { public static void main(String args[]) {
try {
// check assertion status // check assertion status
//ClassLoader.getSystemClassLoader().setDefaultAssertionStatus(true); //ClassLoader.getSystemClassLoader().setDefaultAssertionStatus(true);
boolean assertionenabled = false; boolean assertionenabled = false;
@ -1018,6 +1020,9 @@ public final class yacy {
if (args.length == 1) applicationRoot= new File(args[0]); if (args.length == 1) applicationRoot= new File(args[0]);
startup(dataRoot, applicationRoot, startupMemFree, startupMemTotal, false); startup(dataRoot, applicationRoot, startupMemFree, startupMemTotal, false);
} }
} finally {
Log.shutdown();
}
} }
} }

Loading…
Cancel
Save