ActivityWatch / activitywatch-old

[DEPRECATED] :watch: Logs your computer activities, a RescueTime replacement.
MIT License
16 stars 2 forks source link

Make logs available via REST #19

Open ErikBjare opened 8 years ago

ErikBjare commented 8 years ago

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 commented 8 years ago

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