chore: 运行日志统一中文表述

访问日志改为自管中间件(弃 hono/logger 英文格式),启动与未捕获错误文案中文化。
This commit is contained in:
2026-10-06 12:04:32 +08:00
parent 867bb7d566
commit 7ab9d32495
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ const app = createApp({
adminInitPassword: env.ADMIN_INIT_PASSWORD,
});
appLogger("server").info`listening on port ${env.PORT} (cookie_secure=${env.COOKIE_SECURE}, log_level=${env.LOG_LEVEL})`;
appLogger("server").info`服务已启动,端口 ${env.PORT}(cookie_secure=${env.COOKIE_SECURE},日志级别=${env.LOG_LEVEL}`;
export default {
port: env.PORT,