% local form, viewlibrary, page_info, session = ... %>
<% require("viewfunctions") %>
<%
--[[ DEBUG INFORMATION
io.write("
Debugging
Debug Info:
")
io.write(html.cfe_unpack(form))
io.write("")
--]]
%>
<% displaycommandresults({"startstop"}, session) %>
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
end %>
Configuration
<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %>
<% displayformstart(form) %>
Advanced Configuration
General
<%
displayformitem(form.value.logfile, "logfile")
displayformitem(form.value.loglevel, "loglevel")
displayformitem(form.value.smallerlogs, "smallerlogs")
%>
Log Rotate
<%
displayformitem(form.value.maxsize, "maxsize")
displayformitem(form.value.numrotate, "numrotate")
%>
Remote Logging
<%
displayformitem(form.value.localandnetworklog, "localandnetworklog")
displayformitem(form.value.remotelogging, "remotelogging")
%>
Save and Apply Above Settings
<% displayformend(form) %>
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("startstop")
end
%>