ActivityWatch / aw-core

Core library for ActivityWatch
Mozilla Public License 2.0
48 stars 47 forks source link

Remove MongoDB and JSON logging support #118

Closed ErikBjare closed 1 year ago

mooskagh commented 1 year ago

I've trying to build ActivityWatch from source, and now it doesn't start because of:

2023-03-15 12:23:50 [INFO ]: aw-watcher-afk started  (aw_watcher_afk.afk:60)
Traceback (most recent call last):
  File "/home/crem/activitywatch/venv/bin/aw-server", line 6, in <module>
    sys.exit(main())
  File "/home/crem/activitywatch/activitywatch/aw-server/aw_server/main.py", line 24, in main
    setup_logging(
TypeError: setup_logging() got an unexpected keyword argument 'log_file_json'
ErikBjare commented 1 year ago

@mooskagh Thanks for the report, I just fixed that in https://github.com/ActivityWatch/aw-server/commit/99ab85d9e12805dcd6d9e6d8c55de3a35c14829c. Let me know if there is any other issue.