summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/usr/local/www/status_logs.php2
-rw-r--r--src/usr/local/www/status_logs_filter.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/status_logs.php b/src/usr/local/www/status_logs.php
index 0e0e5f4..f0acd4b 100755
--- a/src/usr/local/www/status_logs.php
+++ b/src/usr/local/www/status_logs.php
@@ -571,7 +571,7 @@ $group->add(new Form_Input(
'GUI Log Entries',
'number',
$pconfig['nentries'],
- ['min' => 5, 'placeholder' => $config['syslog']['nentries']]
+ ['min' => 5, 'max' => 2000, 'placeholder' => $config['syslog']['nentries']]
))->setWidth(2);
$group->setHelp('This is the number of log entries displayed in the GUI. It does not affect how many entries are contained in the log.');
diff --git a/src/usr/local/www/status_logs_filter.php b/src/usr/local/www/status_logs_filter.php
index ca031de..d3101f7 100644
--- a/src/usr/local/www/status_logs_filter.php
+++ b/src/usr/local/www/status_logs_filter.php
@@ -818,7 +818,7 @@ $group->add(new Form_Input(
'GUI Log Entries',
'number',
$pconfig['nentries'],
- ['min' => 5, 'placeholder' => $config['syslog']['nentries']]
+ ['min' => 5, 'max' => 2000, 'placeholder' => $config['syslog']['nentries']]
))->setWidth(2);
$group->setHelp('This is the number of log entries displayed in the GUI. It does not affect how many entries are contained in the log.');
OpenPOWER on IntegriCloud