This commit is contained in:
bcmmbaga
2025-09-19 13:38:53 +03:00
parent 5f836c7968
commit e3e021af05
2 changed files with 19 additions and 24 deletions
@@ -15,6 +15,12 @@
<type>text</type>
<help>Wireguard interface listening port</help>
</field>
<field>
<id>settings.general.logLevel</id>
<label>Log Level</label>
<type>select_multiple</type>
<help>Set the syslog logging level. Setting a certain log level will cause all messages of the specified and more severe log levels to be logged.</help>
</field>
<field>
<type>header</type>
<label>Client Firewall</label>
@@ -90,14 +96,4 @@
<type>checkbox</type>
<help>Enable Rosenpass permissive mode</help>
</field>
<field>
<type>header</type>
<label>Syslog Logging</label>
</field>
<field>
<id>settings.syslog.logLevel</id>
<label>Log Level</label>
<type>dropdown</type>
<help>Set the syslog logging level. Setting a certain log level will cause all messages of the specified and more severe log levels to be logged.</help>
</field>
</form>
@@ -15,6 +15,19 @@
<maximum>65535</maximum>
<ValidationMessage>Please specify a valid port.</ValidationMessage>
</wireguardPort>
<logLevel type="OptionField">
<Required>Y</Required>
<default>info</default>
<Multiple>N</Multiple>
<OptionValues>
<fatal value="fatal">Fatal</fatal>
<error value="error">Error</error>
<warn value="warn">Warn</warn>
<info value="info">Info</info>
<debug value="debug">Debug</debug>
<trace value="trace">Trace</trace>
</OptionValues>
</logLevel>
</general>
<firewall>
<allowConfig type="BooleanField">
@@ -62,19 +75,5 @@
<Required>Y</Required>
</rosenpassPermissive>
</postquantum>
<syslog>
<logLevel type="OptionField">
<Required>Y</Required>
<Default>info</Default>
<OptionValues>
<fatal>fatal</fatal>
<error>error</error>
<warn>warn</warn>
<info>info</info>
<debug>debug</debug>
<trace>trace</trace>
</OptionValues>
</logLevel>
</syslog>
</items>
</model>