Python server to log metrics posted from calibre plugins