Changeset 2190954


Ignore:
Timestamp:
Oct 17, 2009 2:22:35 AM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
011a32f
Parents:
001c361
Message:

dont dump the whole JVM if we cant open the log file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/LogWriter.java

    r001c361 r2190954  
    154154                boolean ok = parent.mkdirs();
    155155                if (!ok) {
    156                     System.err.println("Unable to create the parent directy: " + parent.getAbsolutePath());
    157                     System.exit(0);
     156                    System.err.println("Unable to create the parent directory: " + parent.getAbsolutePath());
     157                    //System.exit(0);
    158158                }
    159159            }
    160160            if (!parent.isDirectory()) {
    161161                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());
    162                 System.exit(0);
     162                //System.exit(0);
    163163            }
    164164        }
Note: See TracChangeset for help on using the changeset viewer.