XDJI
V2EX  ›  问与答

Springboot 整合 log4j2 配置文件放在配置中心问题

  •  
  •   XDJI · Mar 18, 2019 · 2359 views
    This topic created in 2803 days ago, the information mentioned may be changed or developed.

    问下有哪位大佬知道 springboot 想将 log4j2 配置文件采用配置中心的方式(公司内部的配置中心,类似 disconf ) 怎么搞呀。。 现在启动 springboot 还没开始下配置呢 就是写日志会报找不到配置文件

    2 replies  •  2019-03-19 17:09:37 +08:00
    SaberNJU
    SaberNJU
    Mar 19, 2019
    1
    你这内部的配置中心我们怎么调试 /。https://blog.csdn.net/Michael_HM/article/details/80346411,这里有一个接入 Apollo 方式
    XDJI
    XDJI
    OP
    Mar 19, 2019
    2
    @SaberNJU 其实就是 disconf 原理都是一样的。这个 404 了 我之前好像看过,他没把 log4j 的 xml 配上去。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4590 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 06:25 · PVG 14:25 · LAX 22:25 · JFK 01:25
    ♥ Do have faith in what you're doing.