Your idea is harder than logs need to be, and possibly messy. Go the extra quarter mile and use logrotate the way @bb77 explained, or the way @ernolf explains here.
Either way, if you are using Nextcloud’s optional audit logging you can append it to nextcloud.log for easier reading.