From de3b09d6ac10405b72dfefdfe750a92d8eea30f6 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 28 Nov 2019 21:41:53 +0100 Subject: Refactor "code-block:: console" to "code-block:: none" --- docs/system/syslog.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/system/syslog.rst') 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 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 facility level set system syslog file archive file @@ -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 @@ -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 facility 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 $ show log image [all | authorization | directory | file | tail ] -- cgit v1.2.3