summaryrefslogtreecommitdiff
path: root/docs/system/syslog.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-28 21:41:53 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-28 21:41:53 +0100
commitde3b09d6ac10405b72dfefdfe750a92d8eea30f6 (patch)
treefc493ef372dbe11ca9fea91d8a070b7e76a5ad25 /docs/system/syslog.rst
parent8d843d4a17ff0c249256a4be902607f3e83f16ab (diff)
downloadvyos-documentation-de3b09d6ac10405b72dfefdfe750a92d8eea30f6.tar.gz
vyos-documentation-de3b09d6ac10405b72dfefdfe750a92d8eea30f6.zip
Refactor "code-block:: console" to "code-block:: none"
Diffstat (limited to 'docs/system/syslog.rst')
-rw-r--r--docs/system/syslog.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/system/syslog.rst b/docs/system/syslog.rst
index 29a9aec5..c9dc8a1c 100644
--- a/docs/system/syslog.rst
+++ b/docs/system/syslog.rst
@@ -16,14 +16,14 @@ Logging to serial console
The below would log all messages to :code:`/dev/console`.
-.. code-block:: console
+.. code-block:: none
set system syslog console facility all level all
Use the **[tab]** function to display all facilities and levels which can
be configured.
-.. code-block:: console
+.. code-block:: none
vyos@vyos# set system syslog console facility <TAB>
Possible completions:
@@ -70,7 +70,7 @@ Logging to a custom file
Logging to a custom file, rotation size and the number of rotate files left
on the system can be configured.
-.. code-block:: console
+.. code-block:: none
set system syslog file <FILENAME> facility <FACILITY> level <LEVEL>
set system syslog file <FILENAME> archive file <NUMBER OF FILES>
@@ -88,7 +88,7 @@ using either TCP or UDP. The default is sending the messages via UDP.
**UDP**
-.. code-block:: console
+.. code-block:: none
set system syslog host 10.1.1.1 facility all level all
<optional>
@@ -97,7 +97,7 @@ using either TCP or UDP. The default is sending the messages via UDP.
**TCP**
-.. code-block:: console
+.. code-block:: none
set system syslog host 10.1.1.2 facility all level all
set system syslog host 10.1.1.2 facility all protocol tcp
@@ -109,7 +109,7 @@ If logging to a local useraccount is configured, all defined log messages are
display on the console if the local user is logged in, if the user is not
logged in, no messages are being displayed.
-.. code-block:: console
+.. code-block:: none
set system syslog user <LOCAL_USERNAME> facility <FACILITY> level <LEVEL>
@@ -118,7 +118,7 @@ Show logs
Display log files on the console
-.. code-block:: console
+.. code-block:: none
vyos@vyos:~$ show log
Possible completions:
@@ -149,7 +149,7 @@ Show contents of a log file in an image
Log messages from a specified image can be displayed on the console:
-.. code-block:: console
+.. code-block:: none
$ show log image <image name>
$ show log image <image name> [all | authorization | directory | file <file name> | tail <lines>]