Quick links: content, navigation, search.
Log messages into the same logfile where the error is reported. Remove many newlines from message dump (output needs to be made more readable again after this, sorry).