mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-16 05:02:55 +08:00
update 2026-09-22 16:57:57
This commit is contained in:
1 parent
f0ef5fcc0f
commit
35e3e3404d
1987 files changed
+1524591
-24
No files matched your search
@@ -336,6 +336,15 @@ function renderDaeForms(ctx) {
|
||||
|
||||
s = m.section(form.NamedSection, 'config', 'dae', _('Logging'));
|
||||
s.addremove = false;
|
||||
o = s.option(form.ListValue, 'log_level', _('Log level'),
|
||||
_('Debug and trace show per-connection routing details, but increase CPU usage and log volume. Enable them only while troubleshooting.'));
|
||||
o.value('error', 'ERROR');
|
||||
o.value('warn', 'WARN');
|
||||
o.value('info', 'INFO');
|
||||
o.value('debug', 'DEBUG');
|
||||
o.value('trace', 'TRACE');
|
||||
o.default = 'info';
|
||||
o.rmempty = false;
|
||||
o = s.option(form.Value, 'log_maxsize', _('Max Log Size (MB)'),
|
||||
_('Rotate the log file once it grows past this many megabytes.'));
|
||||
o.datatype = 'uinteger';
|
||||
|
||||
Reference in new issue
Block a user