Skip to content

Commit

Permalink
test failed example pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
rajithkrishnegowda committed Nov 12, 2024
1 parent d1864c2 commit af53521
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions openfl/interface/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"""CLI module."""
import logging
import os
import pathlib
import sys
import time
import warnings
Expand Down Expand Up @@ -181,12 +180,7 @@ def cli(context, log_level, no_warnings):
# Setup logging immediately to suppress unnecessary warnings on import
# This will be overridden later with user selected debugging level
disable_warnings()
log_file = os.getenv("LOG_FILE")
if log_file is None:
raise ValueError("LOG_FILE environment variable is not set")

# Normalize the path
log_file = pathlib.Path(log_file).expanduser().resolve()
log_file = os.path.normpath(os.getenv("LOG_FILE"))
setup_logging(log_level, log_file)
sys.stdout.reconfigure(encoding="utf-8")

Expand Down

0 comments on commit af53521

Please sign in to comment.