什么相当于 log4j 2 中的 log4j 1 `log4j.appender.SYSLOG.Header=true`?

What is equivalent to log4j 1 `log4j.appender.SYSLOG.Header=true` in log4j 2?

我正在将 log4j.properties 迁移到 log4j2.xml。前者的 Syslog appender 有一个配置

log4j.appender.SYSLOG.Header=true

log4j2.xml 中的等效设置是什么?

不需要做任何事情:

在 log4j 1 中,设置 log4j.appender.SYSLOG.Header=true 导致 appender including the HEADER part (that is, timestamp and host name) of the syslog packet

在 log4j 2 中,timestamp and host name are always included。 (好像无法关闭。)