<inputname="ResetRRD"type="submit"class="btn btn-default"value="<?=gettext("Reset RRD Data");?>"onclick="return confirm('<?=gettext('Do you really want to reset the RRD graphs? This will erase all graph data.');?>')"/>
<?=gettext("Hint: This is only the number of log entries displayed in the GUI. It does not affect how many entries are contained in the actual log files.")?></td>
<divclass="hidden"for="help_for_nentries">
<?=gettext("Hint: This is only the number of log entries displayed in the GUI. It does not affect how many entries are contained in the actual log files.")?>
<?=gettext("Logs are held in constant-size circular log files. This field controls how large each log file is, and thus how many entries may exist inside the log. By default this is approximately 500KB per log file, and there are nearly 20 such log files.")?>
<?=gettext("Logs are held in constant-size circular log files. This field controls how large each log file is, and thus how many entries may exist inside the log. By default this is approximately 500KB per log file, and there are nearly 20 such log files.")?>
<br/><br/>
<br/><br/>
<?=gettext("NOTE: Log sizes are changed the next time a log file is cleared or deleted. To immediately increase the size of the log files, you must first save the options to set the size, then clear all logs using the \"Reset Log Files\" option farther down this page. ");?>
<?=gettext("NOTE: Log sizes are changed the next time a log file is cleared or deleted. To immediately increase the size of the log files, you must first save the options to set the size, then clear all logs using the \"Reset Log Files\" option farther down this page. ");?>
<?=gettext("Be aware that increasing this value increases every log file size, so disk usage will increase significantly.");?>
<?=gettext("Be aware that increasing this value increases every log file size, so disk usage will increase significantly.");?>
<?=gettext("Disk space currently used by log files: ")?><?=exec("/usr/bin/du -sh /var/log | /usr/bin/awk '{print $1;}'");?>.
<?=gettext("Disk space currently used by log files: ")?><?=exec("/usr/bin/du -sh /var/log | /usr/bin/awk '{print $1;}'");?>.
<?=gettext("Remaining disk space for log files: ")?><?=exec("/bin/df -h /var/log | /usr/bin/awk '{print $4;}'");?>.
<?=gettext("Remaining disk space for log files: ")?><?=exec("/bin/df -h /var/log | /usr/bin/awk '{print $4;}'");?>.
<strong><?=gettext("Log packets matched from the default block rules put in the ruleset");?></strong><br/>
<strong><?=gettext("Log packets matched from the default block rules put in the ruleset");?></strong><br/>
<divclass="hidden"for="help_for_logdefaultblock">
<?=gettext("Hint: packets that are blocked by the implicit default block rule will not be logged if you uncheck this option. Per-rule logging options are still respected.");?>
<?=gettext("Hint: packets that are blocked by the implicit default block rule will not be logged if you uncheck this option. Per-rule logging options are still respected.");?>
<strong><?=gettext("Log packets matched from the default pass rules put in the ruleset");?></strong><br/>
<strong><?=gettext("Log packets matched from the default pass rules put in the ruleset");?></strong><br/>
<divclass="hidden"for="help_for_logdefaultblock">
<?=gettext("Hint: packets that are allowed by the implicit default pass rule will be logged if you check this option. Per-rule logging options are still respected.");?>
<?=gettext("Hint: packets that are allowed by the implicit default pass rule will be logged if you check this option. Per-rule logging options are still respected.");?>
<strong><?=gettext("Log errors from the web server process.");?></strong><br/>
<strong><?=gettext("Log errors from the web server process.");?></strong><br/>
<divclass="hidden"for="help_for_loglighttpd">
<?=gettext("Hint: If this is checked, errors from the lighttpd web server process for the GUI or Captive Portal will appear in the main system log.");?></td>
<?=gettext("Hint: If this is checked, errors from the lighttpd web server process for the GUI or Captive Portal will appear in the main system log.");?></td>
<inputname="resetlogs"type="submit"class="btn btn-default"value="<?=gettext("Reset Log Files");?>"onclick="return confirm('<?=gettext('Do you really want to reset the log files? This will erase all local log data.');?>')"/>
<?=gettext("Note: Clears all local log files and reinitializes them as empty logs. This also restarts the DHCP daemon. Use the Save button first if you have made any setting changes.");?>
<?=gettext("Note: Clears all local log files and reinitializes them as empty logs. This also restarts the DHCP daemon. Use the Save button first if you have made any setting changes.");?>
</div>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -427,51 +473,56 @@ function check_everything() {
...
@@ -427,51 +473,56 @@ function check_everything() {
<?=gettext("This option will allow the logging daemon to bind to a single IP address, rather than all IP addresses.");?>
<?=gettext("This option will allow the logging daemon to bind to a single IP address, rather than all IP addresses.");?>
<?=gettext("If you pick a single IP, remote syslog severs must all be of that IP type. If you wish to mix IPv4 and IPv6 remote syslog servers, you must bind to all interfaces.");?>
<?=gettext("If you pick a single IP, remote syslog severs must all be of that IP type. If you wish to mix IPv4 and IPv6 remote syslog servers, you must bind to all interfaces.");?>
<br/><br/>
<br/><br/>
<?=gettext("NOTE: If an IP address cannot be located on the chosen interface, the daemon will bind to all addresses.");?>
<?=gettext("NOTE: If an IP address cannot be located on the chosen interface, the daemon will bind to all addresses.");?>
<?=gettext("This option is only used when a non-default address is chosen as the source above. This option only expresses a preference; If an IP address of the selected type is not found on the chosen interface, the other type will be tried.");?>
<?=gettext("This option is only used when a non-default address is chosen as the source above. This option only expresses a preference; If an IP address of the selected type is not found on the chosen interface, the other type will be tried.");?>