;syslog_severity": "notice"
> },
> "sort": [
> 1462947335729,
> 1462947335729
> ]
> }
>
> is it possible to have the IP in the "host" filed have resolved from log4j so
> that the hostname will be displayed there? Or have it con
t;sort": [
1462947335729,
1462947335729
]
}
is it possible to have the IP in the "host" filed have resolved from log4j so
that the hostname will be displayed there? Or have it convinced to use the
appender.Application field?
thank you and best,
Dominique
___
Hi Dominique,
Add
log4j.appender.myappender.header = true
and see if you get the hostname
Ravi
On Mon, May 9, 2016 at 9:37 AM, Dominique Taffin
wrote:
> Hello!
>
>
> We are using the log4j extension to send ovirt logs to a logstash server.
>
> As we do have
Hello!
We are using the log4j extension to send ovirt logs to a logstash server.
As we do have several engine hosts and only one logging backend, we do need to
filter logs by hostname. So far I am unable to provide a hostname in
Log4jLogger.properties. All Log4j configurations we have in
4 matches
Mail list logo