Try adding the following rule to a pipeline connected to one or more streams:
rule "debug-marker"
when
true
then
debug("******** TEST ********");
end
If the logging works, this will unconditionally print a log line with the content “******** TEST ********” in the Graylog node’s logs.
Additionally, you have to restart Graylog if you’ve modified the log4j2.xml
file.