[Enhancement request] Strip the log text for long log messages

7 views
Skip to first unread message

akshaym...@gmail.com

unread,
Nov 12, 2020, 5:08:42 AM11/12/20
to lemoncheesecake
The HTML reports generated by lcc are really good. However, if the log messages are long (e.g. in case of huge JSON or XML responses from APIs that I log with lcc), all of it is shown in a single view. So it would be nice to have an option to strip the long logs and have a "View more" link for such messages. That would make it easy to browse through the reports easier and faster.

Nicolas Delon

unread,
Nov 12, 2020, 3:33:40 PM11/12/20
to lemoncheesecake
Hello,

Yes, it could be a good idea.

Waiting for this, an alternative (that would also help reducing the memory pressure on the browser when dealing with very large data) is to log text as attachment.
For instance, you could log your XML/JSON content as a simple log when the data is small and log it as an attachment when it is greater than a certain size.

Regards,

Nicolas.
Reply all
Reply to author
Forward
0 new messages