1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 06:45:06 -05: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() { 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;
// disable useless background logging
Logger.getLogger(JGoogleAnalyticsTracker.class.getName()).setLevel(Level.OFF);
// initialize tracker // initialize tracker
visitorData = restoreVisitorData(); visitorData = restoreVisitorData();
tracker = new JGoogleAnalyticsTracker(getConfig(getApplicationProperty("analytics.WebPropertyID"), visitorData), V_4_7_2); tracker = new JGoogleAnalyticsTracker(getConfig(getApplicationProperty("analytics.WebPropertyID"), visitorData), V_4_7_2);