Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

update heron-shell download handler logging #3718

Merged
merged 1 commit into from
Sep 30, 2021
Merged

update heron-shell download handler logging #3718

merged 1 commit into from
Sep 30, 2021

Conversation

huijunwu
Copy link
Member

update heron-shell download handler logging

@huijunwu huijunwu merged commit 2190502 into apache:master Sep 30, 2021
logging.debug("request to download: %s", path)
handler = logging.StreamHandler()
handler.setFormatter(anticrlf.LogFormatter('%(levelname)s:%(name)s:%(message)s'))
logger = logging.getLogger(__name__)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering if we should move this to a class variable so that no need to set the formatter every time.

Maybe not a big deal fro downloader though since downloading doesn't happen very often.

surahman pushed a commit to surahman/incubator-heron that referenced this pull request Oct 30, 2021
Co-authored-by: Huijun Wu <huijunw@twitter.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants