abhishek-ram/django-pyas2

Progress log for messages - bring back from pyas2 ?

Closed this issue · 3 comments

I do found the logging information useful that existed in pyas2. Is there a particular reason that this functionality did not make it into django-pyas2 or should we work on bringing it back in some form ?

pyas2_log

I thought it was not useful, i mean all you need to know is if the message was sent successfully or not and if it failed what was the reason it failed.

In some cases, the reason was not clear to me. "Failed to parse AS2 message" and "Failed to parse AS2 MDN" exceptions are hard to determine what actually went wrong. But I do get your point and probably the logs won't help in such cases either.

Yes, those error messages are not useful. We do store tracebacks as well in some places, we just need to make sure that we are doing it everywhere.