Island: Remove unused get_log_file_contents() from cc/server_utils/island_logger.py

This commit is contained in:
Shreya Malviya 2022-08-02 18:11:55 +05:30
parent 82e92e39e4
commit b7a113fb14
1 changed files with 0 additions and 6 deletions

View File

@ -33,12 +33,6 @@ def get_log_file_path(data_dir: Path) -> Path:
return data_dir / ISLAND_LOG_FILENAME
def get_log_file_contents(log_file_path: Path) -> str:
with open(log_file_path, "rt") as f:
log_file = f.read()
return log_file
def setup_default_failsafe_logging():
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)