* print auto-clear cache messages as warnings

This commit is contained in:
Reinhard Pointner 2014-01-13 08:04:45 +00:00
parent bb32741af9
commit db9dbeb0f4
2 changed files with 2 additions and 1 deletions

View File

@ -477,7 +477,7 @@ public class Main {
} }
if (cacheRevision != applicationRevision && applicationRevision > 0) { if (cacheRevision != applicationRevision && applicationRevision > 0) {
System.out.format("Application (r%d) does not match cache (r%d): reset cache%n", applicationRevision, cacheRevision); Logger.getLogger(Main.class.getName()).log(Level.WARNING, String.format("App version (r%d) does not match cache version (r%d): reset cache", applicationRevision, cacheRevision));
// delete all files related to previous cache instances // delete all files related to previous cache instances
for (File it : cache.listFiles()) { for (File it : cache.listFiles()) {

View File

@ -83,6 +83,7 @@
^private$ ^private$
^public$ ^public$
^pyload$ ^pyload$
^Multimedia$
^Qmultimedia$ ^Qmultimedia$
^queue$ ^queue$
^raid$ ^raid$