Bug 276098 - sysutils/graylog log config
Summary: sysutils/graylog log config
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dave Cottlehuber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-03 15:08 UTC by rob2g2
Modified: 2024-01-04 16:39 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (dch)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)