syslog-NG configuration run time update for remote syslog support

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???

Restart the service as a "sledgehammer" -- though this may be required to update the config file from the UCI changes.

Edit: At least on my machine, the config file looks not to be UCI-generated

start_service() {
        [ -f /etc/syslog-ng.conf ] || return 1
        procd_open_instance
        procd_set_param command /usr/sbin/syslog-ng --foreground
        procd_close_instance
}

https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.16/administration-guide/87#TOPIC-956720

syslog-ctl reload

SIGHUP