diff --git a/pyproject.toml b/pyproject.toml index c0e48621..6a6debf0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,12 +110,6 @@ level = "DEBUG" filename = "hermes-audit.md" mode = "w" -[tool.hermes.logging.handlers.hintfile] -class = "logging.FileHandler" -formatter = "plain" -level = "DEBUG" -filename = "quickfix.sh" - [tool.hermes.logging.loggers.cli] level = "DEBUG" handlers = ["terminal"] @@ -128,11 +122,6 @@ handlers = ["terminal", "logfile"] level = "DEBUG" handlers = ["terminal", "auditfile"] -[tool.hermes.logging.loggers.audit.hint] -level = "DEBUG" -propagate = false -handlers = ["terminal", "hintfile"] - [tool.taskipy.tasks] docs-build = "poetry run sphinx-build -M html docs/source docs/build -W" docs-clean = "poetry run sphinx-build -M clean docs/source docs/build" diff --git a/src/hermes/commands/harvest/git.py b/src/hermes/commands/harvest/git.py index 8dbc4949..3b96116a 100644 --- a/src/hermes/commands/harvest/git.py +++ b/src/hermes/commands/harvest/git.py @@ -234,32 +234,6 @@ def _audit_authors(authors, audit_log: logging.Logger): audit_log.info('') audit_log.info('``` .mailmap') - # Provide some example configuration for the hint log - hint_log = audit_log.parent.getChild('hints') - hint_log.debug("# '.maillog' to resolve git ambiguities.") - - unmapped_email = [a for a in unmapped_authors if a.email[1:]] - if unmapped_email: - hint_log.debug('# Mapping of email addresses only. Format (one pair per line):') - hint_log.debug('# ') - - for author in unmapped_email: - for email in author.email[1:]: - hint_log.info("<%s> <%s>", str(author.email[0]), str(email)) - hint_log.debug('') - - unmapped_name = [a for a in unmapped_authors if a.name[1:]] - if unmapped_name: - hint_log.debug('# Mapping of user names. Format (one pair per line):') - hint_log.debug('# Real Name nickname') - hint_log.debug('# Real Name Name, Real') - - for author in [a for a in unmapped_authors if a.name[1:]]: - for name in author.name[1:]: - hint_log.info('%s <%s> %s', str(author.name[0]), str(author.email[0]), str(name)) - - hint_log.info('') - audit_log.info('```')