Skip to content

Logs

Get all Logs of the Day

GET /api/logs

Returns all the Logs of the day specified

Response

The response is an array of Logs

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[
    {
        "timestamp": "2024-02-28 21:05:39.53",
        "op": "08hKSh",
        "level": "VERBOSE",
        "category": "Agent",
        "message": "Connected to Agent 127.0.0.1",
        "meta": {
            "shortName": "Agent",
            "longName": "Erizos Agent",
            "version": "2.10.4.10442",
            "buildDate": "2023-06-21T06:30:34.368Z",
            "startTime": "2024-02-28 15:14:31",
            "session": "af0423dd146668b90f6f7b2d5978720f"
        }
    },
    {
        "timestamp": "2024-02-28 21:05:41.73",
        "level": "TRACE",
        "category": "DataService",
        "message": "Data Service has started"
    },
    {
        "timestamp": "2024-02-28 21:05:41.76",
        "level": "INFO",
        "category": "System",
        "message": "Studio Server v0.0.0.13493 Started"
    }
]

Get all Logs of Pages

GET /api/logs/pages

Returns all the Logs of Pages

Response

The response is a list of Pages with logs

1
2
3
4
5
6
7
[
    {
        "page": 0,
        "start": "2024-03-18 00:11:41.90",
        "ref": 0
    }
]

Get all dates with Logs

GET /api/logs/dates

Returns all the dates with Logs present

Response

The response is a list of dates

[
    "2024-02-26",
    "2024-02-27",
    "2024-02-28"
]

Download a Zip file of all Log files

GET /api/logs/download

Returns all the dates with Logs present

Response