[ 
https://issues.apache.org/jira/browse/FLAGON-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16929667#comment-16929667
 ] 

Joshua Poore commented on FLAGON-341:
-------------------------------------

running the start command in inject script appears to set up a duplicate 
logging stream because autostart has already called start prior to 
options(config). Commenting out the start() command appears to resolve the 
issue and logging resumes to normal, passed from content to background via 
messaging. 

> Web Extension Produces Duplicate Logs
> -------------------------------------
>
>                 Key: FLAGON-341
>                 URL: https://issues.apache.org/jira/browse/FLAGON-341
>             Project: Flagon
>          Issue Type: Bug
>          Components: UserALE.js
>    Affects Versions: UserALE.js 2.1.0
>         Environment: Chrome 72
> Firefox 65
> javascript
>            Reporter: Joshua Poore
>            Assignee: Joshua Poore
>            Priority: Major
>             Fix For: UserALE.js 2.1.0
>
>         Attachments: Screen Shot 2019-07-23 at 11.26.58 PM.png, 
> image-2019-07-24-20-59-18-395.png, image-2019-07-24-21-11-20-917.png
>
>
> The Web Extension produces duplicate logs w/ identical class structure and 
> time stamps (incl. microtime).
> Affects 'SENSSOFT-336', '-SENSSOFT-192'- branches, and pre-Gulp 4.0.0 
> '-SENSSOFT-192'- builds. 
> Affects logs originating from both Firefox and Chrome
> Confirmed that this isn't an indexing problem with Elastic–duplicate logs 
> appear in local file using our example server test utility.
> Confirmed using both temporary 'unpacked' extensions built from source, and 
> pre-build extension on chrome store.
> Behavior noted following upgrade to recent versions of Chrome/Firefox (72/65)
> Confirmed that this behavior DOES NOT affect UserALE.js script tag 
> deployments.
> Confirmed that this behavior originates from browser using java "example" log 
> server (see below).
> {code:java}
> {"target":"div#main-masthead.ui masthead padded center aligned inverted 
> vertical segment","path":["div#main-masthead.ui masthead padded center 
> aligned inverted vertical 
> segment","div.main-wrapper","body","html","#document","Window"],"pageUrl":"http://senssoft.incubator.apache.org/","pageTitle":"Apache
>  
> SensSoft","pageReferrer":"","clientTime":1553281575226,"microTime":0.73,"location":{"x":288,"y":70},"type":"click","logType":"raw","userAction":true,"details":{"clicks":1,"ctrl":false,"alt":false,"shift":false,"meta":false},"userId":"nobody","toolVersion":null,"toolName":"test_app","useraleVersion":"1.1.0","sessionID":"session_1553280781567"},
> {"target":"div#main-masthead.ui masthead padded center aligned inverted 
> vertical segment","path":["div#main-masthead.ui masthead padded center 
> aligned inverted vertical 
> segment","div.main-wrapper","body","html","#document","Window"],"pageUrl":"http://senssoft.incubator.apache.org/","pageTitle":"Apache
>  
> SensSoft","pageReferrer":"","clientTime":1553281575226,"microTime":0.73,"location":{"x":288,"y":70},"type":"click","logType":"raw","userAction":true,"details":{"clicks":1,"ctrl":false,"alt":false,"shift":false,"meta":false},"userId":"nobody","toolVersion":null,"toolName":"test_app","useraleVersion":"1.1.0","sessionID":"session_1553280781567"},
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to