diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-10-31 18:56:05 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-10-31 18:56:05 +0000 |
commit | d9397d5fd90208b20c0cb44872a4c596b61f036d (patch) | |
tree | 137ea87b6ae791a50008684a8e8509c8dd3b377d /mysql-model.lua | |
parent | f10b9da4c1d0cea22ae81850b5269a986221a640 (diff) | |
download | acf-mariadb-d9397d5fd90208b20c0cb44872a4c596b61f036d.tar.bz2 acf-mariadb-d9397d5fd90208b20c0cb44872a4c596b61f036d.tar.xz |
Modify logfile to use common view
Diffstat (limited to 'mysql-model.lua')
-rw-r--r-- | mysql-model.lua | 7 |
1 files changed, 7 insertions, 0 deletions
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, ...) |