Don't log encryption data in release mode
authorFelix Weilbach <felix.weilbach@nextcloud.com>
Thu, 23 Sep 2021 12:13:34 +0000 (14:13 +0200)
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>
Mon, 27 Sep 2021 19:50:38 +0000 (19:50 +0000)
commitd6e60cd8d42dd9246e4aad2f0d8c64a5b0841ce2
treec0d56f6338564a654583c6e0b4ffb10c6d091534
parent26a361973c1dff92803c0cbdd733b5e28859ba1d
Don't log encryption data in release mode

We deliver our builds to users with debug logging enabled to have an
easier time finding problems. However, logging all the encryption data
in this loop is too much and should not be done in release mode.

Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
src/libsync/clientsideencryption.cpp