diff --git a/doc/sphinx/administration/configuration/osh-encrypt-rsync_conf.rst b/doc/sphinx/administration/configuration/osh-encrypt-rsync_conf.rst index 9d4c944..0cfdd31 100644 --- a/doc/sphinx/administration/configuration/osh-encrypt-rsync_conf.rst +++ b/doc/sphinx/administration/configuration/osh-encrypt-rsync_conf.rst @@ -26,6 +26,7 @@ These options configure the way the script logs its actions - `logfile`_ - `syslog_facility`_ +- `verbose`_ Encryption and signing options ------------------------------ @@ -78,6 +79,18 @@ If set to the empty string, we'll not log through syslog at all. If this configuration option is missing from your config file altogether, the default value will be used (local6), which means that we'll log to syslog. +verbose +******* + +:Type: ``int >= 0`` + +:Default: ``0`` + +The verbosity level of the logs produced by the script +0: normal (default) +1: log more information about what is happening +2: log debug-level information + Encryption and signing ---------------------- diff --git a/etc/bastion/osh-encrypt-rsync.conf.dist b/etc/bastion/osh-encrypt-rsync.conf.dist index f3ae79e..5a1f9b7 100644 --- a/etc/bastion/osh-encrypt-rsync.conf.dist +++ b/etc/bastion/osh-encrypt-rsync.conf.dist @@ -45,6 +45,14 @@ # DEFAULT: "local6" "syslog_facility": "local6", # +# verbose (int >= 0) +# DESC: The verbosity level of the logs produced by the script +# 0: normal (default) +# 1: log more information about what is happening +# 2: log debug-level information +# DEFAULT: 0 +"verbose": 0, +# # > Encryption and signing # >> These options configure how the script uses GPG to encrypt and sign the ttyrec files #