worklog/worklog-api/src/main/resources/service.properties
zhangjf 13655445d2 refactor: 后台API日志配置优化
- service.properties: 移除重复日志配置(已由env.properties定义)
- logback-spring.xml: ERROR日志只输出到error.log
  - AOP_FILE/APP_FILE/SQL_FILE/CONSOLE添加ERROR过滤器
  - 更新注释说明配置来源于env.properties
2026-02-26 19:12:57 +08:00

25 lines
911 B
Properties
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ====================================================
# 工作日志服务平台 - 服务个性化配置
# 说明:当前服务独立的配置,可覆盖 env.properties 中的同名参数
# ====================================================
# ==================== 服务基本信息 ====================
# 服务名称
APP_NAME=worklog-api
# 实例名称(多租户场景使用,默认与 APP_NAME 相同)
INSTANCE_NAME=${APP_NAME}
# 租户标识(多租户场景使用,用于路由,单租户留空)
TENANT_ID=
# ==================== 服务启动配置 ====================
# 主启动类瘦JAR模式必须配置
MAIN_CLASS=com.wjbl.worklog.WorklogApplication
# ==================== 个性化覆盖配置(可选) ====================
# 生产环境可在 conf/service.properties 中覆盖以下参数:
# LOG_PATH=/var/logs/worklog-api
# LOG_LEVEL_ROOT=WARN
# LOG_LEVEL_APP=INFO