Passing a request line to snprintf as its format string turns logging into memory disclosure. Use a constant format and keep secrets out of process memory.
A Qt desktop app filtered log lines with msgType < minimumType. Qt numbers its message types in the order they were added, not by severity, so at the default INFO level the log was full of info lines and held no warning or error at all.