activitywatch-old icon indicating copy to clipboard operation
activitywatch-old copied to clipboard

Make logs available via REST

Open ErikBjare opened this issue 10 years ago • 1 comments

Logs for each agent (and all agents) should be made available via REST. In the future WebSockets might be used instead.

This is done by creating a log handler that writes to buffers which can then be fetched from REST (probably done by subclassing NullHandler but unsure).

The first version can simply make the entire log available via REST and not support specifying the log of a particular agent.

ErikBjare avatar Nov 09 '15 05:11 ErikBjare

We did something similar for Homebrain, migrate core functionality to a new module and have the two projects share it.

ErikBjare avatar Jan 11 '16 23:01 ErikBjare