Don't use QTextStream for logging *sigh*