GitPython icon indicating copy to clipboard operation
GitPython copied to clipboard

GIT_PYTHON_TRACE to use log.debug instead of log.info

Open gsemet opened this issue 7 years ago • 1 comments

Is it possible to change the default behavior of GIT_PYTHON_TRACE=full to use log level debug instead of INFO?

It is nice to have this trace on logging, but I would like to be able to route them to a debug.log file while keeping the stdout in INFO loglevel and higher only.

Thanks

gsemet avatar Sep 05 '18 11:09 gsemet

I agree, by making it debug it probably interacts better with existing application logging, which may already use the info() channel for something less verbose than what gitpython would produce. A patch is very welcome.

Byron avatar Oct 14 '18 10:10 Byron