Save and render debug logs