[syslog-ng] Trouble configuring elasticsearch2 destination

Fabien Wernli wernli at in2p3.fr
Tue Jul 3 13:43:32 UTC 2018


Hi,

On Tue, Jul 03, 2018 at 03:34:15PM +0200, T4iga wrote:
> I managed to install syslog-ng-java-3.16 from your repo.
> I set the environment variable manually to my newest java implementation
> which is openjdk-1.8.0 and set up /etc/profile.local (as per
> https://unix.stackexchange.com/questions/117467/how-to-permanently-set-environmental-variables)
> to supposedly do this every time I log in so I do not have to care about it.

This file won't be used by systemd when running the service.
You have to add the LD_LIBRARY_PATH either in ld.so.conf or in the systemd unit file.



More information about the syslog-ng mailing list