gismo141 / homebridge-server

Server plugin for homebridge
https://gismo141.github.io/configure-your-homebridge-2/
151 stars 20 forks source link

Possibility to define the "system" log name #50

Open ramsnerm opened 6 years ago

ramsnerm commented 6 years ago

Hi, First of all great plugin and thanks for the job so far done. I ahem implemented the plugin and it works. However I have one minus. I am using multiple instances of home bridge on my server (due to the reason splitting stable from non stable plugins without crashing all my system). This also includes the my system log must be extended with an different search string e.g. "homebridge-main"

Could you make an update to add this configuration as an optional value, so that you aren to only make a call with the hardcoded standard call. For example:

{
    "platform": "Server",
    "port": 8765,
    "name": "Homebridge Server",
    "log" : "systemd"
    **"System-string" : "homebridge-main"**
}

Many Thanks in advance

gismo141 commented 6 years ago

Ah you mean a specific name which can be seen in your system log?