Add '+' in front of messages so that they're displayed in grey in webadmin logs instead of blue, to being able to better visually differentiate these

This commit is contained in:
Alexandre Aubin 2019-07-03 21:14:16 +02:00
parent f0ad9440cf
commit 41c0689af3

View file

@ -654,7 +654,7 @@ def tools_upgrade(operation_logger, apps=None, system=False):
logger.debug("Running apt command :\n{}".format(dist_upgrade))
callbacks = (
lambda l: logger.info(l.rstrip() + "\r"),
lambda l: logger.info("+" + l.rstrip() + "\r"),
lambda l: logger.warning(l.rstrip()),
)
returncode = call_async_output(dist_upgrade, callbacks, shell=True)