show class name in log message

This commit is contained in:
honfika@gmail.com
2015-02-25 23:13:55 +01:00
parent c17b699d58
commit 7e89a2c721
7 changed files with 20 additions and 13 deletions

View File

@@ -178,7 +178,7 @@ public class ProxyFrame extends AppFrame implements ActionListener, CatchedListe
File rf = new File(replacementsFile);
if (rf.exists()) {
if (!rf.delete()) {
Logger.getLogger(Configuration.class.getName()).log(Level.SEVERE, "Cannot delete replacements file");
Logger.getLogger(ProxyFrame.class.getName()).log(Level.SEVERE, "Cannot delete replacements file");
}
}
} else {
@@ -188,7 +188,7 @@ public class ProxyFrame extends AppFrame implements ActionListener, CatchedListe
pw.println(r.targetFile);
}
} catch (IOException ex) {
Logger.getLogger(Configuration.class.getName()).log(Level.SEVERE, "Exception during saving replacements", ex);
Logger.getLogger(ProxyFrame.class.getName()).log(Level.SEVERE, "Exception during saving replacements", ex);
}
}
}