XDJI
V2EX  ›  问与答

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

  •  
  •   XDJI · Mar 18, 2019 · 2001 views
    This topic created in 2617 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
        1
    SaberNJU  
       Mar 19, 2019
    你这内部的配置中心我们怎么调试 /。https://blog.csdn.net/Michael_HM/article/details/80346411,这里有一个接入 Apollo 方式
    XDJI
        2
    XDJI  
    OP
       Mar 19, 2019
    @SaberNJU 其实就是 disconf 原理都是一样的。这个 404 了 我之前好像看过,他没把 log4j 的 xml 配上去。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3148 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 104ms · UTC 14:28 · PVG 22:28 · LAX 07:28 · JFK 10:28
    ♥ Do have faith in what you're doing.