8000 Remove console debug logger by mattrasmus · Pull Request #115 · insitro/redun · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove console debug logger #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions redun/console/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import logging
import re
from itertools import chain
from typing import Any, Dict, List, Optional
Expand All @@ -8,16 +7,6 @@
from redun.utils import format_timestamp, trim_string

NULL = object()
logger = logging.getLogger("redun.console")
logger.setLevel(logging.INFO)
logger.addHandler(logging.FileHandler("/tmp/redun.log"))


def log_write(*args: Any) -> None:
"""
Debugging function to use when developing with Textual.
"""
logger.info(" ".join(map(str, args)))


def format_link(link_pattern: str, tags: Dict[str, Any]) -> Optional[str]:
Expand Down
0