Bugfix for issue #71 Improve dumping attachments to syslog.
No longer dump the trace arguments so as to not exhaust the available memory.
Improvement to bugfix for issue #71 Improve dumping attachments to syslog.
Use Exception->__toString, it turns out that that does exactly what we want (dump the trace without the arguments).
Improvement to bugfix for issue #71 Improve dumping attachments to syslog.
Remove the use of print_r alltogether in favor of json_encode and custom __toString methods. Also 'encourage' attachers to supply message as a string.
Merge pull request #102 from OpenConext/bugfix/71-improve-dumping-attachments-backport

Bugfix/71 improve dumping attachments backport