File tree 2 files changed +4
-2
lines changed
app/ux-analytics/ui/src/main/java/org/phoebus/applications/uxanalytics/ui
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
package org .phoebus .applications .uxanalytics .ui ;
2
2
3
+ import org .phoebus .framework .workbench .Locations ;
4
+
3
5
import java .io .*;
4
6
import java .util .logging .Level ;
5
7
import java .util .logging .Logger ;
6
8
7
9
class ConsentPersistence {
8
10
9
- static final String CONSENT_FILE = ".phoebus-analytics-consent" ;
11
+ static final String CONSENT_FILE = Locations . user (). getAbsolutePath ()+ ".phoebus-analytics-consent" ;
10
12
11
13
static boolean consentIsPersistent (){
12
14
return new File (CONSENT_FILE ).exists ();
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public void start(){
59
59
else {
60
60
monitor .disableTracking ();
61
61
}
62
- logger .log (Level .INFO , "Load UX Analytics AppResource" );
62
+ logger .log (Level .FINE , "Loaded UX Analytics plugin with consent: " + consent );
63
63
}
64
64
65
65
@ Override
You can’t perform that action at this time.
0 commit comments