From 509eadb8b56795847b19656c466ca3631ce9e210 Mon Sep 17 00:00:00 2001 From: Ilias Tsitsimpis Date: Mon, 17 Mar 2014 12:09:16 +0200 Subject: [PATCH] Update Changelog about commands logging mechanism Add an entry to the Changelog about the 'Logging mechanism for Synnefo management commands'. Closes #3: Log all stdout/stderr for snf-manage invocations --- Changelog | 9 +++++++++ docs/admin-guide.rst | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/Changelog b/Changelog index 5dc80ee80..1b5424ea5 100644 --- a/Changelog +++ b/Changelog @@ -32,6 +32,15 @@ Synnefo-wide * All existing resources have been assigned to the respective user-specific base projects. +* Logging mechanism for Synnefo management commands + + * Log all stdout and stderr output of every invocation of snf-manage, + on unique filenames under a given directory. + + * Add a new setting in the snf-common package, namely 'LOG_DIR', which + specifies the directory to be used by Synnefo components to write + their log files. + Astakos ------- diff --git a/docs/admin-guide.rst b/docs/admin-guide.rst index e1cba3c8d..e769f83c4 100644 --- a/docs/admin-guide.rst +++ b/docs/admin-guide.rst @@ -2335,6 +2335,12 @@ The logging configuration dictionary is defined in The administrator can have logging control by modifying the ``LOGGING_SETUP`` dictionary, and defining subloggers with different handlers and log levels. +By default snf-manage will log any command that is being executed along with +its output under the directory ``LOG_DIR``/commands. The ``LOG_DIR`` directory +can be changed from the ``00-snf-common-admins.conf`` configuration file and +the whole snf-manage logging mechanism can be disabled by changing the +``LOGGER_EXCLUDE_COMMANDS`` setting to ".\*". + .. _scale-up: