ERROR StatusConsoleListener Deprecated log4j.xml setting detected <bufferSize="500"> Using default <bufferSizeBytes=50MB> instead

Hello,

I have an issue when I try to install Graylog with docker compose. I have try this link for this compose:

When I run compose up, I got the error message is

ERROR StatusConsoleListener Deprecated log4j.xml setting detected <bufferSize=“500”> Using default <bufferSizeBytes=50MB> instead

What is wrong and how can I fixing it? Any idea please let me know.

Thank in advance.

Hey @qzvt

I’m taking a guess from this error. You Log4j has a Deprecated setting. Might want to take a look in you Log4j configuration file.

I think there is a fix from here.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276098#c0

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”

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.