Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/output.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/output.py')
-rw-r--r--archinstall/lib/output.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py
index b406d624..d266afa8 100644
--- a/archinstall/lib/output.py
+++ b/archinstall/lib/output.py
@@ -135,7 +135,7 @@ class Journald:
log_adapter.log(level, message)
-def check_log_permissions():
+def _check_log_permissions():
filename = storage.get('LOG_FILE', None)
log_dir = storage.get('LOG_PATH', Path('./'))
@@ -292,6 +292,10 @@ def log(
reset: bool = False,
font: List[Font] = []
):
+ # leave this check here as we need to setup the logging
+ # right from the beginning when the modules are loaded
+ _check_log_permissions()
+
text = orig_string = ' '.join([str(x) for x in msgs])
# Attempt to colorize the output if supported