Wed May 25 17:03:25 2005

Ticket #990 (assigned)

Station HTML UI: Include log view window under 'Station settings'


Priority: normal Reporter: douglas
Severity: feature Assigned to: fgerlits (accepted)
Component: gLiveSupport Status: assigned
Version:   Resolution:  
Milestone: future Keywords:  

Description by douglas:

In the HTML UI, we should have a window to view the log file. Studio has a log view in the schedule window, so I'm pretty sure methods are available for it. A simple text window should be enough.

Attachments

Changelog

Tue Jun 7 19:39:10 2005: Modified by fgerlits

    I don't think there is a log view in Studio (yet). The log is a table in the database called "playLog", created by this command: CREATE TABLE playLog ( id BIGINT NOT NULL, audioClipId BIGINT NOT NULL, timestamp TIMESTAMP NOT NULL, PRIMARY KEY(id) ); Currently, we only log audio clips (i.e., for a playlist played, we do not log the playlist's ID, only the IDs of the audio clips inside it).

    Wed Jun 8 17:24:33 2005: Modified by sebastian

    • owner changed from sebastian to douglas

    Whats now?

    Wed Jun 8 18:27:04 2005: Modified by fgerlits

      I'd say this is a version 1.1 feature request. We need Doug to agree, though...

      Wed Jun 8 18:41:20 2005: Modified by douglas

        So will we have at least a text file that the system outputs? If it's only a database table, someone will need to document how it works, what it captures, and how to use it. 1.0 has to have at least _some_ kind of log function. It may not have to be in a window in the browser, but it has to be there. Based on the feedback I'm getting, log functions are crucial to whether a station keeps its license.

        Wed Jun 8 18:41:38 2005: Modified by douglas

        • owner changed from douglas to fgerlits

        Wed Jun 8 19:19:16 2005: Modified by fgerlits

          It's pretty easy to get a text file from the database: $ pg_dump -t playlog -a livesupport > playlog_dump.txt will produce something like this: >>> playlog_dump.txt file begins >>> -- -- PostgreSQL database dump -- SET SESSION AUTHORIZATION 'test'; SET search_path = public, pg_catalog; -- -- Data for TOC entry 1 (OID 585316) -- Name: playlog; Type: TABLE DATA; Schema: public; Owner: test -- COPY playlog (id, audioclipid, "timestamp") FROM stdin; 1 10001 2005-02-24 15:11:02 2 10005 2005-02-24 15:13:29 3 10001 2005-02-24 15:15:40 \. <<< playlog_dump.txt file ends <<< It's probably not very hard to combine this with some batch psql commands in a script to produce a similar list, but with title and creator (and copyright holder, if filled out) instead of the unique ID.

          Tue Oct 4 16:10:53 2005: Modified by maroy

          • description changed.
          • component changed from LiveSupport Station to gLiveSupport
          • milestone set to future

          Tue Oct 4 23:34:31 2005: Modified by maroy

            this is related to #505* , which would be the information gathering part, while this is the UI part of the same feature.


            Add/Change #990 (Station HTML UI: Include log view window under 'Station settings')




            Change Properties






            Action