* 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
1 changed files with 6 additions and 2 deletions

View File

@ -31,8 +31,6 @@ public class Analytics {
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)
return tracker;
@ -252,4 +250,10 @@ public class Analytics {
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);
}
}