diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-06-13 16:07:08 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-06-19 17:20:24 -0400 |
| commit | c103b19f6d0aea06e5b994b8e462de70ddaee5a8 (patch) | |
| tree | efc831812218c1fbf43f0533e0021927b9935332 | |
| parent | fc2a67dd25162322e347cd970b83858a77bb5d81 (diff) | |
doc: Add docs for log-filter and show log-filter
Add some user documentation for applying/deleting/showing
log filters with the new commands.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
| -rw-r--r-- | doc/user/basic.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/user/basic.rst b/doc/user/basic.rst index 3d3a75d4b1..8395087e8d 100644 --- a/doc/user/basic.rst +++ b/doc/user/basic.rst @@ -189,6 +189,22 @@ Basic Config Commands is used to start the daemon then this command is turned on by default and cannot be turned off and the [no] form of the command is dissallowed. +.. index:: + single: no log-filter WORD [DAEMON] + single: log-filter WORD [DAEMON] + +.. clicmd:: [no] log-filter WORD [DAEMON] + + This command forces logs to be filtered on a specific string. A log message + will only be printed if it matches on one of the filters in the log-filter + table. Can be daemon independent. + +.. index:: log-filter clear [DAEMON] +.. clicmd:: log-filter clear [DAEMON] + + This command clears all current filters in the log-filter table. Can be + daemon independent. + .. index:: service password-encryption .. clicmd:: service password-encryption @@ -321,6 +337,11 @@ Terminal Mode Commands Shows the current configuration of the logging system. This includes the status of all logging destinations. +.. index:: show log-filter +.. clicmd:: show log-filter + + Shows the current log filters applied to each daemon. + .. index:: show memory .. clicmd:: show memory |
