From a9e1d3d73286c57884393e2ac05a00794c674f13 Mon Sep 17 00:00:00 2001 From: Ashwin Thanaraj <37061471+ashwin1111@users.noreply.github.com> Date: Mon, 23 Oct 2023 17:12:36 +0530 Subject: [PATCH] Add logger in accounting export summary POST (#512) --- apps/fyle/tasks.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/fyle/tasks.py b/apps/fyle/tasks.py index 718002ba..aee329e2 100644 --- a/apps/fyle/tasks.py +++ b/apps/fyle/tasks.py @@ -201,6 +201,11 @@ def post_accounting_export_summary(org_id: str, workspace_id: int, fund_source: accounting_export_summary_batches.append(payload) + logger.info( + 'Posting accounting export summary to Fyle workspace_id: %s, payload: %s', + workspace_id, + accounting_export_summary_batches + ) create_generator_and_post_in_batches(accounting_export_summary_batches, platform, workspace_id)