Skip to content

Commit

Permalink
feat: Add extensive loggers in sdk (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutosh619-sudo authored Oct 15, 2024
1 parent 609c36b commit bd7323f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fyle_intacct_api/logging_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from django.conf import settings

logger = logging.getLogger(__name__)

logger.level = logging.INFO

class ErrorHandlerMiddleware:

Expand Down
5 changes: 5 additions & 0 deletions fyle_intacct_api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@
'handlers': ['console'],
'level': 'INFO',
},
'sageintacctsdk.apis.api_base': {
'handlers': ['console'],
'level': 'INFO',
'propagate': True
},
'django.request': {'handlers': ['request_logs'], 'propagate': False},
},
}
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ django-rest-framework==0.1.0
djangorestframework==3.11.2
django-sendgrid-v5==1.2.0
future==0.18.2
fyle==0.37.0
fyle==0.37.2
fyle-accounting-mappings==1.34.8
fyle-integrations-platform-connector==1.39.1
fyle-rest-auth==1.7.2
Expand All @@ -23,7 +23,7 @@ pytest-cov==3.0.0
pytest-django==4.5.2
pytest-mock==3.8.2
requests==2.25.0
sageintacctsdk==1.22.4
sageintacctsdk==1.23.3
sentry-sdk==1.19.1
six==1.13.0
Unidecode==1.1.2
Expand Down

0 comments on commit bd7323f

Please sign in to comment.