“External system log server” can't be set as a domain name, can it be fixed?

If you set the domain name, it will prompt:

  • One or more fields contain invalid values!

it may take some time....

here is how you can "fix" it yourself ...

############################ /www/luci-static/resources/view/system/system.js
#o=s.taboption('logging',form.Value,'log_ip',_('External system log server'))
#o.optional=true
#o.placeholder='0.0.0.0'
#REMOVE# o.datatype='ipaddr'
#ADD#    o.datatype='string'
############################ /etc/init.d/log
#REMOVE# 'log_ip:ipaddr' \
#ADD#    'log_ip:string' \

there is no dir "view"

root@OpenWrt:~# ls /www/luci-static/resources/
bandwidth.svg    cbi.js           icons            wifirate.svg     xhr.js
cbi              connections.svg  load.svg         wireless.svg
root@OpenWrt:~#

"fixes" are based on current code...it seems your running a release version...

for a quicker fix ( no luci ) ... in /etc/init.d/log

procd_set_param command "$PROG" -f -h "$log_hostname" -r "HOST.DNS.NAME.HERE" "${log_port}" -p "$pid_file"
1 Like

Now it can work, thank you very much

no problem!

Welcome tot he community :space_invader:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.