mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-17 06:45:06 -05:00
* really fixed it now, i think... damn race conditions...
This commit is contained in:
parent
d6b207d234
commit
8a5422bb3d
@ -31,8 +31,6 @@ public class Analytics {
|
|||||||
|
|
||||||
|
|
||||||
public static synchronized JGoogleAnalyticsTracker getTracker() {
|
public static synchronized JGoogleAnalyticsTracker getTracker() {
|
||||||
// disable useless background logging, if it doesn't work it doesn't work, won't affect anything
|
|
||||||
Logger.getLogger("com.dmurph.tracking").setLevel(Level.OFF);
|
|
||||||
|
|
||||||
if (tracker != null)
|
if (tracker != null)
|
||||||
return tracker;
|
return tracker;
|
||||||
@ -252,4 +250,10 @@ public class Analytics {
|
|||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static {
|
||||||
|
// disable useless background logging, if it doesn't work it doesn't work, won't affect anything
|
||||||
|
Logger.getLogger("com.dmurph.tracking").setLevel(Level.OFF);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user