Re: [ovirt-users] Log4j hostname

2016-05-11 Thread Fabrice Bacchella
;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

Re: [ovirt-users] Log4j hostname

2016-05-11 Thread Dominique Taffin
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 ___

Re: [ovirt-users] Log4j hostname

2016-05-10 Thread Ravi Nori
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

[ovirt-users] Log4j hostname

2016-05-09 Thread Dominique Taffin
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