1
0
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:
Reinhard Pointner 2012-07-14 08:57:45 +00:00
parent d6b207d234
commit 8a5422bb3d

View File

@ -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);
}
} }