I think that there is an error in file setup_logging.py in Frappe v5:
It ends with comma and should’t.
Also, please check why frappe can’t read file site_config.json
from site2.local folder and only read common_site_config.json
from sites folder.
I noticed that if i run bench clear-cache it runs site_config.json
but when i run bench start only reads common_site_config.json
.