Skip to content

Commit

Permalink
Clean up debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyyid committed Jun 6, 2024
1 parent 19d56e4 commit 4c9c670
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tap_xero/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,10 @@ def sync(self, ctx):
filter_options['headers'] = {"If-Modified-Since": start_date.strftime("%Y-%m-%dT%H:%M:%SZ")}

records = _make_request(ctx, self.tap_stream_id, filter_options)
logging.info("Got {} records: {}".format(
len(records), records
))
# NOTE: Uncomment below for debugging, I commented it out because the logs were atrocious
# logging.info("Got {} records: {}".format(
# len(records), records
# ))
if records:
self.format_fn(records)
self.write_records(records, ctx)
Expand Down

0 comments on commit 4c9c670

Please sign in to comment.