From d9397d5fd90208b20c0cb44872a4c596b61f036d Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sat, 31 Oct 2015 18:56:05 +0000 Subject: Modify logfile to use common view --- mysql-model.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mysql-model.lua') diff --git a/mysql-model.lua b/mysql-model.lua index de867f9..1db6a71 100644 --- a/mysql-model.lua +++ b/mysql-model.lua @@ -49,6 +49,13 @@ function mymodule.updatefiledetails(self, filedetails) return modelfunctions.setfiledetails(self, filedetails, {conffile}) end +function mymodule.get_logfile(self, clientdata) + local retval = cfe({ type="group", value={}, label="Log File Configuration" }) + retval.value.facility = cfe({value="daemon", label="Syslog Facility"}) + retval.value.grep = cfe({ value="mariadb", label="Grep" }) + return retval +end + for n,f in pairs(dbmodelfunctions) do mymodule[n] = function(...) return f(determineconnection, ...) -- cgit v1.2.3