Hi all.
I have 2 RaspBerry Pi 3 set up: One with Openhab2 (A) stable and one with InfluxDB and Grafana (B).
I like to use raspi (B) as syslog server and let raspi (A) send all his logs to (B) to be analysed and processed into InfluxDB.
Currently I’m stuck with the setup in org.ops4j.pax.logging.cfg. I just figured that it might be possible with a section like this:
# Syslog appender
log4j.appender.syslog=org.apache.log4j.net.SyslogAppender
log4j.appender.syslog.layout=org.apache.log4j.PatternLayout
log4j.appender.syslog.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
log4j.appender.syslog.syslogHost=IP-OF(B)
log4J.appender.syslog.facility=KARAF
log4j.appender.syslog.facilityPrinting=false
But currently there is no log sent over from (A) to (B). I made sure the the syslog-ng on (B) is working correctly and is able to receive logs by sending the syslog from a third machine © to (B).
What should I do next or how do I have to configure the logging of openhab2 to make this actually work?