Development
This commit is contained in:
parent
61817b2cf3
commit
2905f21052
1 changed files with 20 additions and 20 deletions
|
|
@ -190,26 +190,6 @@
|
||||||
"action": "/action/dnsblocking/logging_save",
|
"action": "/action/dnsblocking/logging_save",
|
||||||
"method": "post",
|
"method": "post",
|
||||||
"items": [
|
"items": [
|
||||||
{
|
|
||||||
"type": "field",
|
|
||||||
"label": "Max Log Size (KB)",
|
|
||||||
"name": "log_max_kb",
|
|
||||||
"input_type": "number",
|
|
||||||
"value": "%GENERAL_LOG_MAX_KB%",
|
|
||||||
"min": 64,
|
|
||||||
"hint": "Log is cleared and restarted when it exceeds this size."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "field",
|
|
||||||
"label": "Only record errors to log",
|
|
||||||
"name": "log_errors_only",
|
|
||||||
"input_type": "checkbox",
|
|
||||||
"value": "%GENERAL_LOG_ERRORS_ONLY%",
|
|
||||||
"hint": "Only write error-level messages to the log."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "hr"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "pre_block",
|
"type": "pre_block",
|
||||||
"text": "%DNS_LOG_TAIL%",
|
"text": "%DNS_LOG_TAIL%",
|
||||||
|
|
@ -238,6 +218,26 @@
|
||||||
{
|
{
|
||||||
"type": "hr"
|
"type": "hr"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
|
"label": "Max Log Size (KB)",
|
||||||
|
"name": "log_max_kb",
|
||||||
|
"input_type": "number",
|
||||||
|
"value": "%GENERAL_LOG_MAX_KB%",
|
||||||
|
"min": 64,
|
||||||
|
"hint": "Log is cleared and restarted when it exceeds this size."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
|
"label": "Only record errors to log",
|
||||||
|
"name": "log_errors_only",
|
||||||
|
"input_type": "checkbox",
|
||||||
|
"value": "%GENERAL_LOG_ERRORS_ONLY%",
|
||||||
|
"hint": "Only write error-level messages to the log."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "hr"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "button_row",
|
"type": "button_row",
|
||||||
"items": [
|
"items": [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue