Bug 276098

Summary: sysutils/graylog log config
Product: Ports & Packages Reporter: rob2g2 <rob2g2-freebsd>
Component: Individual Port(s)Assignee: Dave Cottlehuber <dch>
Status: Closed FIXED    
Severity: Affects Some People CC: rob2g2-freebsd
Priority: --- Flags: bugzilla: maintainer-feedback? (dch)
Version: Latest   
Hardware: Any   
OS: Any   

Description rob2g2 2024-01-03 15:08:14 UTC
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"
Comment 1 Dave Cottlehuber freebsd_committer freebsd_triage 2024-01-04 15:56:53 UTC
thanks Rob, I'll roll this in with 5.2.3 update landing today.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-01-04 16:39:00 UTC
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(-)