mirror of
https://github.com/netbirdio/OPNsensePlugins.git
synced 2026-05-22 18:42:59 -07:00
debug
This commit is contained in:
+6
-10
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user