jcomeauictx / myturnb

MyTurn client and server (updates MyTurn repository)
https://github.com/yishayw/MyTurn/wiki
0 stars 0 forks source link

Log files for data collection? #37

Closed DavidStodolsky closed 6 years ago

DavidStodolsky commented 7 years ago

Until a database connection is installed, it might be possible to collect simple data via log files. The logged operations would include button presses, button releases, and name displays.

jcomeauictx commented 7 years ago

yes, that's how I'm going to do it in my rewrite, at least at the beginning. should I also attempt to retrofit this into myturnb?

DavidStodolsky commented 7 years ago

No retrofit. Send me a log file, when it is ready.

jcomeauictx commented 7 years ago

OK, I just realized I hadn't added you to the current repo. I've now done so, and please open any new issues that can wait for the rewrite to it. and remember that the "alpha" branch is the current one, for myturn as well as myturnb.

On Wed, Aug 9, 2017 at 9:22 AM, David Stodolsky notifications@github.com wrote:

No retrofit. Send me a log file, when it is ready.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/jcomeauictx/myturnb/issues/37#issuecomment-321306790, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMaXgpyQlc99W_VLoiEs8Vb0baI1MNKks5sWdy8gaJpZM4Ow-QS .

-- John Comeau KE5TFZ jc@unternet.net http://jc.unternet.net/ "A place for everything, and everything all over the place"

jcomeauictx commented 7 years ago

also, Github isn't sending me these notices in a timely manner. I got this last update about 23 hours after you posted it. so please follow up with an email on anything urgent if such comes up.

jcomeauictx commented 6 years ago

the most basic information is now stored in a folder 'statistics' under the application. it is in json format, so easy to import with any script and made into something more readable.

root@myturn:~# cat /usr/local/jcomeauictx/pyturn-alpha/statistics/zulu/1514492658.431183.json 
[
    {
        "second": [
            [
                1514492632.160147,
                null
            ]
        ]
    },
    {
        "ubnt": [
            [
                1514492599.757584,
                1514492606.568145
            ],
            [
                1514492634.156789,
                null
            ]
        ]
    }
]

a null means the user didn't release My Turn until after the session finished.

jcomeauictx commented 6 years ago

the above refers to MyTurn-OpenSource/pyturn commit 19051b2, now installed at uwsgi-alpha.myturn.mobi.