finished all init messages

This commit is contained in:
Divided by Zer0 2022-09-12 01:13:12 +02:00
parent 656e3995f0
commit 5692e5ce16
2 changed files with 3 additions and 3 deletions

View File

@ -1085,7 +1085,7 @@ def savesettings():
#==================================================================#
@debounce(2)
def settingschanged():
print("{0}Saving settings!{1}".format(colors.GREEN, colors.END))
logger.info("Saving settings.")
savesettings()
#==================================================================#
@ -9987,7 +9987,7 @@ for schema in config_endpoint_schemas:
# Final startup commands to launch Flask app
#==================================================================#
if __name__ == "__main__":
logger.init("Webserver", status="Begin")
logger.init("Webserver", status="Starting")
general_startup()
patch_transformers()

View File

@ -28,7 +28,7 @@ def is_stderr_log(record):
logfmt = "<level>{level: <10}</level> | <green>{name}</green>:<green>{function}</green>:<green>{line}</green> - <level>{message}</level>"
genfmt = "<level>{level: <10}</level> @ <green>{time:YYYY-MM-DD HH:mm:ss}</green> | <level>{message}</level>"
initfmt = "<magenta>INIT </magenta> | <level>{extra[status]: <8}</level> | <magenta>{message}</magenta>"
initfmt = "<magenta>INIT </magenta> | <level>{extra[status]: <10}</level> | <magenta>{message}</magenta>"
msgfmt = "<level>{level: <10}</level> | <level>{message}</level>"
logger.level("GENERATION", no=24, color="<cyan>")