index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/output.py | 3 |
diff --git a/archinstall/lib/output.py b/archinstall/lib/output.py index e18a0cd2..8331a04c 100644 --- a/archinstall/lib/output.py +++ b/archinstall/lib/output.py @@ -80,6 +80,9 @@ def log(*args, **kwargs): kwargs = {'bg' : 'black', 'fg': 'white', **kwargs} string = stylize_output(string, **kwargs) + if (logfile := storage.get('logfile', None)) and 'file' not in kwargs: + kwargs['file'] = logfile + # Log to a file output unless specifically told to suppress this feature. # (level has no effect on the log file, everything will be written there) if 'file' in kwargs and ('suppress' not in kwargs or kwargs['suppress'] == False): |