[New-bugs-announce] [issue41728] Add logfile() when debug is True
Elliott Balsley
report at bugs.python.org
Sat Sep 5 19:48:02 EDT 2020
New submission from Elliott Balsley <ebalsley at pm.me>:
When you add a TarInfo object created directly in memory, for example from a byte string, there is no debug logging available. `tarfile.add()` logs the name of each file added when debug level is 1 or higher. I think it would be a good idea to do the same for `tarfile.addfile()`, perhaps with a higher debug level. It looks like debug=3 is currently unused, even though it's defined in the documentation.
----------
components: Library (Lib)
messages: 376448
nosy: ebalsley
priority: normal
severity: normal
status: open
title: Add logfile() when debug is True
type: enhancement
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41728>
_______________________________________
More information about the New-bugs-announce
mailing list