mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 22:09:47 -04:00
Update log levels
This commit is contained in:
parent
5f5ee11004
commit
d3f1bdde15
@ -79,7 +79,7 @@ public class CacheManager {
|
|||||||
FileLock lock = channel.tryLock();
|
FileLock lock = channel.tryLock();
|
||||||
|
|
||||||
if (lock != null) {
|
if (lock != null) {
|
||||||
debug.config(format("Using persistent disk cache %s", cache));
|
debug.fine(format("Using persistent disk cache %s", cache));
|
||||||
|
|
||||||
int applicationRevision = getApplicationRevisionNumber();
|
int applicationRevision = getApplicationRevisionNumber();
|
||||||
int cacheRevision = 0;
|
int cacheRevision = 0;
|
||||||
@ -93,7 +93,7 @@ public class CacheManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cacheRevision != applicationRevision && applicationRevision > 0 && !isNewCache) {
|
if (cacheRevision != applicationRevision && applicationRevision > 0 && !isNewCache) {
|
||||||
debug.config(format("Current application version (r%d) does not match cache version (r%d): reset cache", applicationRevision, cacheRevision));
|
debug.warning(format("Current application revision (r%d) does not match cache revision (r%d): reset cache", applicationRevision, cacheRevision));
|
||||||
|
|
||||||
// tag cache with new revision number
|
// tag cache with new revision number
|
||||||
isNewCache = true;
|
isNewCache = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user