gluon/package/gluon-logging/check_site.lua
Martin Weinelt 9b19883d97 add gluon-logging package
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
2020-04-30 01:54:35 +02:00

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)