File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/ux-analytics/ui/src/main/java/org/phoebus/applications/uxanalytics/ui Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11package org .phoebus .applications .uxanalytics .ui ;
22
3+ import org .phoebus .framework .workbench .Locations ;
4+
35import java .io .*;
46import java .util .logging .Level ;
57import java .util .logging .Logger ;
68
79class ConsentPersistence {
810
9- static final String CONSENT_FILE = ".phoebus-analytics-consent" ;
11+ static final String CONSENT_FILE = Locations . user (). getAbsolutePath ()+ ".phoebus-analytics-consent" ;
1012
1113 static boolean consentIsPersistent (){
1214 return new File (CONSENT_FILE ).exists ();
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public void start(){
5959 else {
6060 monitor .disableTracking ();
6161 }
62- logger .log (Level .INFO , "Load UX Analytics AppResource" );
62+ logger .log (Level .FINE , "Loaded UX Analytics plugin with consent: " + consent );
6363 }
6464
6565 @ Override
You can’t perform that action at this time.
0 commit comments