in the package in log4j2.xml.sample and the log4j2.xml, use the line <Memory name="graylog-internal-logs" bufferSizeBytes="50MB"/> instead of <Memory name="graylog-internal-logs" bufferSize="500"/> starting the service with the wrong option (with the delivered sample config) results in "ERROR StatusConsoleListener Deprecated log4j.xml setting detected <bufferSize="500"> Using default <bufferSizeBytes=50MB> instead"
thanks Rob, I'll roll this in with 5.2.3 update landing today.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f7f7152bfdccc4deeb092706ca3ed8702bbbeaf4 commit f7f7152bfdccc4deeb092706ca3ed8702bbbeaf4 Author: Dave Cottlehuber <dch@FreeBSD.org> AuthorDate: 2024-01-04 16:38:19 +0000 Commit: Dave Cottlehuber <dch@FreeBSD.org> CommitDate: 2024-01-04 16:38:19 +0000 sysutils/graylog: update to 5.2.3 - fix warnings in log4j config PR: 276098 Reported by: rob2g2-freebsd@bitbert.com Sponsored by: SkunkWerks, GmbH sysutils/graylog/Makefile | 2 +- sysutils/graylog/distinfo | 6 +++--- sysutils/graylog/files/log4j2.xml.in | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)