Add an offline logger that may be used to fetch the logs as a json file later on. This may be related to #200.