From a5e6676db845e10bdca47c3fcf8dca9dea75ec42 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Mon, 18 Jul 2016 09:20:10 +0200 Subject: Update tutorial This mentions the instructions of what was discussed in #489. --- doc/source/tutorial.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc/source/tutorial.rst') diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst index b0ef273d..92020975 100644 --- a/doc/source/tutorial.rst +++ b/doc/source/tutorial.rst @@ -474,8 +474,13 @@ Using environment variables, you can further adjust the behaviour of the git com * **GIT_PYTHON_TRACE** - * If set to non-0, all executed git commands will be logged using a python logger. - * if set to *full*, the executed git command and its output on stdout and stderr will be logged using a python logger. + * If set to non-0, all executed git commands will be shown as they happen + * If set to *full*, the executed git command _and_ its entire output on stdout and stderr will be shown as they happen + + **NOTE**: All logging is outputted using a Python logger, so make sure your program is configured to show INFO-level messages. If this is not the case, try adding the following to your program:: + + import logging + logging.basicConfig(level=logging.INFO) * **GIT_PYTHON_GIT_EXECUTABLE** -- cgit v1.2.1