1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* fixed annoying analytics failed request logging

This commit is contained in:
Reinhard Pointner 2012-07-14 08:52:48 +00:00
parent a8f1b1c57a
commit d6b207d234

View File

@ -31,12 +31,12 @@ 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;
// disable useless background logging
Logger.getLogger(JGoogleAnalyticsTracker.class.getName()).setLevel(Level.OFF);
// initialize tracker
visitorData = restoreVisitorData();
tracker = new JGoogleAnalyticsTracker(getConfig(getApplicationProperty("analytics.WebPropertyID"), visitorData), V_4_7_2);