Reduce logging overhead

Description

Tinder logs full stanzas to its log, using the trace level. Even when this level is not enabled, the stanzas are parsed, which can introduce a significant amount of overhead.

Do not parse data when (not) logging to trace.

Environment

None
Fixed

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen