With the Debian packages the logs go to the journal (or /var/log/xwiki), so there is nothing to rotate. For WAR installs that write catalina.out, the rewrite plans an optional logrotate snippet. See https://github.com/ciaens/xinit/blob/claude/sleepy-pasteur-57a86v/docs/phases/phase-3-diagnose-and-notify.md.