HomeGenie Forum
General Category => Troubleshooting and Support => Topic started by: KaZe on January 05, 2016, 09:51:19 AM
-
Hi!
I have a syslog server (Syslog watcher 4). Is that possible to send HG logs to syslog server?
And I use HG on Ubuntu 15 linux.
-
You can do this:
1) Enable Log File in HG configuration
2) Forward the log file to the remote syslog using syslog-ng
Log file is located in /usr/local/bin/homegenie/log -> homegenie.log
To read and forward the file to syslog (or remote syslog) look this guide:
http://www.syslog.org/logged/reading-logs-from-a-file-in-syslog-ng/ (http://www.syslog.org/logged/reading-logs-from-a-file-in-syslog-ng/)
I'm using this in Debian, but also applies to Ubuntu :)
-
You can do this:
1) Enable Log File in HG configuration
2) Forward the log file to the remote syslog using syslog-ng
Log file is located in /usr/local/bin/homegenie/log -> homegenie.log
To read and forward the file to syslog (or remote syslog) look this guide:
[url]http://www.syslog.org/logged/reading-logs-from-a-file-in-syslog-ng/[/url] ([url]http://www.syslog.org/logged/reading-logs-from-a-file-in-syslog-ng/[/url])
I'm using this in Debian, but also applies to Ubuntu :)
Thanks for help!
I was able to configure it :) Works fine.