fixed logging

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4926 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
danielr 17 years ago
parent 21c87c36e3
commit 726218dd4a

@ -199,7 +199,8 @@ public final class yacy {
// setting up logging
f = new File(homePath, "DATA/LOG/yacy.logging");
if (!(new File(f.getPath()).exists())) f.mkdirs();
final File logPath =new File(f.getPath());
if (!logPath.exists()) logPath.mkdirs();
if (!f.exists()) try {
serverFileUtils.copy(new File(homePath, "yacy.logging"), f);
}catch (IOException e){

Loading…
Cancel
Save