mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
#262 reduce Google Analytics log level to FINE, so that it's silent by default if connection cannot be established
This commit is contained in:
parent
a53ceb7b7a
commit
319a5ebd64
@ -9,7 +9,7 @@ import java.net.URL;
|
||||
import java.net.URLEncoder;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import static java.util.logging.Level.WARNING;
|
||||
import static java.util.logging.Level.FINE;
|
||||
import static net.azib.ipscan.config.Config.getConfig;
|
||||
|
||||
/**
|
||||
@ -44,7 +44,7 @@ public class GoogleAnalytics {
|
||||
conn.disconnect();
|
||||
}
|
||||
catch (Exception e) {
|
||||
Logger.getLogger(getClass().getName()).log(WARNING, "Failed to report", e);
|
||||
Logger.getLogger(getClass().getName()).log(FINE, "Failed to report", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user