Pita/log4js-syslog — comment on commit 0d1c65bfc35c91248a97ab023d2cdda00c74b161
File: index.js line 49
By polotek:

I see you removed the difference I had between the open function and init here. So this is a little odd. Log4js has this "configure" method which seems a good place to open the syslog socket. But is optional and doesn't always get called. That's why I have `open()` as a separate function that's called explicitly. Otherwise if you want to add the syslog appender multiple times, it will close and re-open the socket every time. This might be okay though. I'll leave it as is for now.