I am using syslog-NG to filter out the syslog messages to various files. As a next step, these messages should be sent to remote syslog servers as configured by the user using the webpage.
syslog-NG allows the Destination to be provided as the remote server IP. Webpage has been developed to accept multiple remote syslog server IP and port numbers and save to an UCI file under /etc/config.
Challenge that i am facing is to update the syslog-NG on a runtime whenever user changes the remote syslog sever IP addresses which are updated to the UCI file.
It is not being feasible to access the syslog-NG config file and get to the line, edit and restart the service.
Any other options to update the remote syslog sever details in run time???