JAL-3676 Removed BACKUPFILESPRESETENTRY logging for opening the file browser. Changed...
[jalview.git] / src / jalview / gui / AlignFrame.java
index e4aa736..b2e05c5 100644 (file)
@@ -1200,23 +1200,23 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
       else
       {
         // create backupfiles object and get new temp filename destination
-        Cache.log.debug("ALIGNFRAME making backupfiles object for " + file);
+        Cache.log.trace("ALIGNFRAME making backupfiles object for " + file);
         BackupFiles backupfiles = new BackupFiles(file);
 
         try
         {
           String tempFilePath = backupfiles.getTempFilePath();
-          Cache.log.debug(
+          Cache.log.trace(
                   "ALIGNFRAME setting PrintWriter to " + tempFilePath);
           PrintWriter out = new PrintWriter(new FileWriter(tempFilePath));
 
-          Cache.log.debug(
+          Cache.log.trace(
                   "ALIGNFRAME about to write to temp file " + tempFilePath);
 
           out.print(output);
-          Cache.log.debug("ALIGNFRAME about to close file");
+          Cache.log.trace("ALIGNFRAME about to close file");
           out.close();
-          Cache.log.debug("ALIGNFRAME closed file");
+          Cache.log.trace("ALIGNFRAME closed file");
           this.setTitle(file);
           statusBar.setText(MessageManager.formatMessage(
                   "label.successfully_saved_to_file_in_format", new Object[]
@@ -1233,7 +1233,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
         {
           success = false;
           Cache.log.error(
-                  "ALIGNFRAME Something else happened writing the temp file");
+                  "ALIGNFRAME Something unexpected happened writing the temp file");
           Cache.log.error(ex.getMessage());
           Cache.log.debug(Cache.getStackTraceString(ex));
         }
@@ -1242,7 +1242,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
         Cache.log.debug("ALIGNFRAME writing temp file was "
                 + (success ? "" : "NOT ") + "successful");
         // do the backup file roll and rename the temp file to actual file
-        Cache.log.debug("ALIGNFRAME about to rollBackupsAndRenameTempFile");
+        Cache.log.trace("ALIGNFRAME about to rollBackupsAndRenameTempFile");
         success = backupfiles.rollBackupsAndRenameTempFile();
         Cache.log.debug("ALIGNFRAME performed rollBackupsAndRenameTempFile "
                 + (success ? "" : "un") + "successfully");