{
try
{
+ File oldFile = new File(propertiesFile);
+ oldFile.renameTo(new File(propertiesFile+"#"));
FileOutputStream out = new FileOutputStream(propertiesFile);
applicationProperties.store(out, "---JalviewX Properties File---");
out.close();
+ oldFile.delete();
}
catch (Exception ex)
{ System.out.println("Error saving properties: "+ex); }
Logger lvclient = Logger.getLogger("org.vamsas");
lvclient.setLevel(Level.toLevel(Cache.getDefault("logs.Vamsas.Level",
Level.INFO.toString())));
-
+
lvclient.addAppender(log.getAppender("JalviewLogger"));
// Tell the user that debug is enabled
- lvclient.debug("Jalview Vamsas Client Debugging Output Follows.");
+ lvclient.debug("Jalview Vamsas Client Debugging Output Follows.");
}
} catch (Exception e) {
vamsasJarsArePresent=0;