Island: Remove unused get_log_file_contents() from cc/server_utils/island_logger.py
This commit is contained in:
parent
82e92e39e4
commit
b7a113fb14
|
@ -33,12 +33,6 @@ def get_log_file_path(data_dir: Path) -> Path:
|
||||||
return data_dir / ISLAND_LOG_FILENAME
|
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():
|
def setup_default_failsafe_logging():
|
||||||
logger = logging.getLogger()
|
logger = logging.getLogger()
|
||||||
logger.setLevel(logging.DEBUG)
|
logger.setLevel(logging.DEBUG)
|
||||||
|
|
Loading…
Reference in New Issue