From c890e77067d8106036cd36890211cfc07eca5723 Mon Sep 17 00:00:00 2001 From: MD NADEEM Date: Thu, 17 Sep 2015 14:26:46 +0900 Subject: [PATCH] Correct "log_file" option in zaqar documents This patch provide fix for below issue As per zaqar README.rst, if you want to change log file name, then you have to edit log_file option in [DEFAULT] section of ~/.zaqar/zaqar.conf log_file = server.log However, actually to change the log file name, you have to args option in [handler_file] section in ~/.zaqar/logging.conf as below. args=('zaqar.log', 'w') Closes-bug: #1496682 Change-Id: I94d762fca1905b367722e44cb24961e3e4cfffb0 --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 6b56a662a..693e007f2 100644 --- a/README.rst +++ b/README.rst @@ -51,10 +51,10 @@ sudo yum install gcc python-pip libxml2-devel libxslt-devel uri = mongodb://127.0.0.1:27017 -5. For logging, find the ``[DEFAULT]`` section in - ``~/.zaqar/zaqar.conf`` and modify as desired:: +5. For logging, find the ``[handler_file]`` section in + ``~/.zaqar/logging.conf`` and modify as desired:: - log_file = server.log + args=('zaqar.log', 'w') 6. Change directories back to your local copy of the repo::