Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/output.py
AgeCommit message (Collapse)Author
2021-05-12some type hint fixes and a bad catch fixadvaithm
2021-04-28Corrected one indentation.Anton Hvornum
2021-04-28Corrected error handling for log creation.Anton Hvornum
2021-04-28Fixing permission error on non-root-runners accessing log()Anton Hvornum
2021-04-27Moving away from custom log levels, to something that's well defined. (#360)Anton Hvornum
* Moving away from custom log levels, to something that's well defined. * Added backward compability to log() as well. * Added an option to force log messages out on screen even if the level is below the log level threashold. * Added force log messages when wrong notation is used. * Added some more length to the deprecated message * Swapped all log levels to use logging.<level> instead. Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-04Closed #110Zach Osman
2021-04-04Fix misspellingsRafael Fontenelle
2021-03-23Corrected recursion loop in log() calling log() before setting the new path ↵Anton Hvornum
for the log file on errors.
2021-03-23Partially corrects for #116. We still don't detect if we're running as root ↵Anton Hvornum
(need to investigate if we need to run as root first). But this should at least hot-swap the log-file to the current working directory and place the logfile there.
2021-03-08Tweaked logging slightly.Anton Hvornum
2021-01-24Added debug output as well as corrected output formatting in log().Anton Hvornum
2021-01-24Mixup with variable nameAnton Hvornum
2021-01-24Simpligied installer.log() to wrap output.log() with it's changes.Anton Hvornum
2021-01-24Trying to centralize the configuration for logging. Phasing out some ↵Anton Hvornum
parameters which also affects the current ability to create multiple log files for multiple runs. This will be re-introduced when logging is made into a class object in a later version
2020-11-29Issue in archinstall.output.log() when the log file output is omitted. Now ↵Anton Hvornum
properly checks if a logfile is given, otherwise it ignores it.
2020-11-05Fallback automatically to a log file if we can detect one, even tho file was ↵Anton Hvornum
never given in the log() call. This might cause some log posts to slip in to the logs, but use suppress=True to force-ignore those in such a case.
2020-11-04Tweaked some log messages in archinstall.Installer()Anton Hvornum
2020-11-04Logic issue minor fix.Anton Hvornum
2020-11-04Fixed level issues on log output. Also tweaked it so that all log rows come ↵Anton Hvornum
to the log file, but not nessecarily the interactive screen (tty/journald). Also tweaked certain log messages to be printed vs not printed.
2020-11-04Cleaned up some logic. How the LOG_LEVEL is fetched from the storage.Anton Hvornum
2020-11-04Added multiple log features.Anton Hvornum
* [Reintroduced](https://github.com/Torxed/archinstall/blob/f64a605449f59c677dff39962f1cb46616d893b7/archinstall.py#L57-L71) log levels * Created a global log file definition * Optional support for `python-systemd`'s journald handler. * Optional file output that has a globally configurable definition, that archinstall will honor in `archinstall.storage['logfile']`.
2020-10-18Reverted TTS implementation from 35913c4. Since blind people use screen ↵Anton Hvornum
readers for this functionality. Will have a look at http://www.linux-sppeakup.org/.
2020-10-11Added text-to-speach, untested but the base is now added. It routes through ↵Anton Hvornum
if available. And can be accessed with directly if needed.