mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-22 07:03:53 +08:00
update:修改版本号
This commit is contained in:
@@ -237,7 +237,7 @@ public interface Constant {
|
||||
/**
|
||||
* 版本号
|
||||
*/
|
||||
public static final String VERSION = "0.7.4";
|
||||
public static final String VERSION = "0.7.5";
|
||||
|
||||
/**
|
||||
* 无效固件URL
|
||||
|
||||
@@ -5,7 +5,7 @@ from config.config_loader import load_config
|
||||
from config.settings import check_config_file
|
||||
from datetime import datetime
|
||||
|
||||
SERVER_VERSION = "0.7.4"
|
||||
SERVER_VERSION = "0.7.5"
|
||||
_logger_initialized = False
|
||||
|
||||
|
||||
@@ -58,8 +58,9 @@ def setup_logging():
|
||||
logger.configure(
|
||||
extra={
|
||||
"selected_module": log_config.get("selected_module", "00000000000000"),
|
||||
})
|
||||
|
||||
}
|
||||
)
|
||||
|
||||
log_format = log_config.get(
|
||||
"log_format",
|
||||
"<green>{time:YYMMDD HH:mm:ss}</green>[{version}_{extra[selected_module]}][<light-blue>{extra[tag]}</light-blue>]-<level>{level}</level>-<light-green>{message}</light-green>",
|
||||
@@ -111,4 +112,3 @@ def setup_logging():
|
||||
def create_connection_logger(selected_module_str):
|
||||
"""为连接创建独立的日志器,绑定特定的模块字符串"""
|
||||
return logger.bind(selected_module=selected_module_str)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user