Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fintechqb 1967 enable service level logging #600

Merged

Conversation

andymond
Copy link
Contributor

  • Update log check to be configurable by whatever class includes the logging module, preserving default functionality.
  • Support the case where we would like to have some services log without enabling logging through our application instance.

danielnho22 and others added 11 commits November 29, 2021 16:49
In a recent update to the QBO API, if a company that uses automated sales tax has an invoice that has no tax amount, we need to specify TotalTaxSpecified = false. Not passing this results in an error from QBO indicating that sales tax was miscalculated.
…ction-tax-detail

Add total tax specified to transaction tax detail
… per request and once per response if enabled
…ption

Add condense_logs to quickbooks config & update logs to only log once…
Merge ruckus latest into codefied
…gging utility to allow per-service-instance logging capability
…t memoizing to handle @log explicitly being set to false for an instance
@ruckus ruckus merged commit 6d6422d into ruckus:master Jun 20, 2023
@ruckus
Copy link
Owner

ruckus commented Jun 20, 2023

Thank you!

ruckus pushed a commit that referenced this pull request Jul 13, 2023
* Add total_tax_specified xml_accessor to TransactionTaxDetail

In a recent update to the QBO API, if a company that uses automated sales tax has an invoice that has no tax amount, we need to specify TotalTaxSpecified = false. Not passing this results in an error from QBO indicating that sales tax was miscalculated.

* Accidentally commited a binding.pry

* Add condense_logs to quickbooks config & update logs to only log once per request and once per response if enabled

* Update variable names & move condense_logs? checks to logging util

* Update Quickbooks.log to log without condition & move condition to logging utility to allow per-service-instance logging capability

* Update README to include instance configurability demo

* Update log settings check to check for ivar definition instead of just memoizing to handle @log explicitly being set to false for an instance

---------

Co-authored-by: Daniel Ho <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants