rotate logs based on the lines count instead of teh file size
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 12 Jun 2023 10:57:17 +0000 (12:57 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Mon, 12 Jun 2023 17:12:48 +0000 (17:12 +0000)
commitd0c0d8dc77f99136bde89712cd9257be87a36d68
treea3becf9ce7754d218a04f9c1fd77e5d4ff8473bb
parent245e7837bf7e3891d9f83c65531a9e613db4822b
rotate logs based on the lines count instead of teh file size

will omit querying teh file size repeatedly (and not cost free)

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/logger.cpp