Add logging Exceptions and oneline json log prints