9b19883d97
Allows reconfigurtion of remote syslog from within site.conf. Conflicts with the gluon-web-logging package as user made changes will be overwritten, because this package will reconfigure the syslog destination on every upgrade. Resolves #1845
4 lines
147 B
Lua
4 lines
147 B
Lua
need_string({'syslog', 'ip'}, true)
|
|
need_number_range({'syslog', 'port'}, 1, 65535, false)
|
|
need_one_of({'syslog', 'proto'}, {'tcp', 'udp'}, false)
|