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

* finally fix this logger problem??

This commit is contained in:
Reinhard Pointner 2012-07-16 18:38:07 +00:00
parent e85f69113e
commit 5cb775fdac

View File

@ -31,10 +31,12 @@ public class Analytics {
public static synchronized JGoogleAnalyticsTracker getTracker() {
if (tracker != null)
return tracker;
// disable useless background logging, if it doesn't work it doesn't work, won't affect anything (putting it here works for Java 6)
Logger.getLogger("com.dmurph.tracking").setLevel(Level.OFF);
// initialize tracker
visitorData = restoreVisitorData();
tracker = new JGoogleAnalyticsTracker(getConfig(getApplicationProperty("analytics.WebPropertyID"), visitorData), V_4_7_2);
@ -252,7 +254,7 @@ public class Analytics {
static {
// disable useless background logging, if it doesn't work it doesn't work, won't affect anything
// disable useless background logging, if it doesn't work it doesn't work, won't affect anything (putting it here works for Java 7)
Logger.getLogger("com.dmurph.tracking").setLevel(Level.OFF);
}