mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
update:修改版本号
This commit is contained in:
parent
76b5ad1c99
commit
76b9542507
2 changed files with 5 additions and 5 deletions
|
|
@ -237,7 +237,7 @@ public interface Constant {
|
||||||
/**
|
/**
|
||||||
* 版本号
|
* 版本号
|
||||||
*/
|
*/
|
||||||
public static final String VERSION = "0.7.4";
|
public static final String VERSION = "0.7.5";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 无效固件URL
|
* 无效固件URL
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ from config.config_loader import load_config
|
||||||
from config.settings import check_config_file
|
from config.settings import check_config_file
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
SERVER_VERSION = "0.7.4"
|
SERVER_VERSION = "0.7.5"
|
||||||
_logger_initialized = False
|
_logger_initialized = False
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -58,7 +58,8 @@ def setup_logging():
|
||||||
logger.configure(
|
logger.configure(
|
||||||
extra={
|
extra={
|
||||||
"selected_module": log_config.get("selected_module", "00000000000000"),
|
"selected_module": log_config.get("selected_module", "00000000000000"),
|
||||||
})
|
}
|
||||||
|
)
|
||||||
|
|
||||||
log_format = log_config.get(
|
log_format = log_config.get(
|
||||||
"log_format",
|
"log_format",
|
||||||
|
|
@ -111,4 +112,3 @@ def setup_logging():
|
||||||
def create_connection_logger(selected_module_str):
|
def create_connection_logger(selected_module_str):
|
||||||
"""为连接创建独立的日志器,绑定特定的模块字符串"""
|
"""为连接创建独立的日志器,绑定特定的模块字符串"""
|
||||||
return logger.bind(selected_module=selected_module_str)
|
return logger.bind(selected_module=selected_module_str)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue