使用spring cloud alibaba微服务时,配置日志时可能会出现
Logback configuration error detected:
‘File’ option has the same value “C:\Users\zhouwenhao\logs/nacos/config.log” as that given for appender [CONFIG_LOG_FILE] defined earlier.

Logback configuration error detected:
'File' option has the same value "C:\Users\logs/nacos/config.log" as that given for appender [CONFIG_LOG_FILE] defined earlier.

这时候可在启动类加上一段代码即可

public static void main(String[] args) {System.setProperty("nacos.logging.default.config.enabled","false");SpringApplication.run(UserApp.class, args);}

Logback configuration error detected:相关推荐

  1. springboot配置log4j2报错:java.lang.IllegalStateException: Logback configuration error detected:

    引入log4j2后启动报错. Exception in thread "main" java.lang.IllegalStateException: java.lang.Illeg ...

  2. springboot集成logback,报错java.lang.IllegalStateException: Logback configuration error detected:

    最近需要将一个springboot项目部署到一台新服务器上.而且新服务器是完全copy了旧服务器的环境与项目.但是在新服务器上启动该springboot项目,就一直报错 2019-03-18 18:5 ...

  3. Logback configuration error detected的终极解决方案

    今天在springboot项目中替换log4j2日志的时候遇见的问题,闲话不多说. 错误日志 Logging system failed to initialize using configurati ...

  4. Spring Boot与Log4j2集成之java.lang.IllegalStateException: Logback configuration error detected:

    引言: 一个问题的分析与解决过程是表与里的过程,是一个大胆猜测与小心求证的过程,spring boot与log4j2的集成过程中,我将描述一下分析这个问题的思路和过程. 我一直强调一点: 重要的不是解 ...

  5. logback启动报错,IllegalStateException: Logback configuration error detected...

    报错信息: Caused by: java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch. ...

  6. 6.mybatis异常:SQL Mapper Configuration,Error parsing Mapper XML,Could not resolve type alias

    6.mybatis异常:SQL Mapper Configuration,Error parsing Mapper XML,Could not resolve type alias 参考文章: (1) ...

  7. 【vim】Vim: Error detected while processing function SNR37_MRU_LoadList错误

    00. 目录 00. 目录 01. 问题描述 02. 原因分析 03. 解决办法 01. 问题描述 每一次使用vim打开已经存在文件或者新的文件,都会出现如下问题: Error detected wh ...

  8. A configuration error occurred during startup.Please verify the preference field with the prompt: To

    今天遇到了一个棘手的问题,到现在都没有解决,折腾了一天结果捣鼓出来个更棘手的问题,经过多方继续折腾,终于把后来的这个问题给搞定了,但是前面的问题还是没有解决.有遇到相类似的问题解决了的麻烦分享一下,徒 ...

  9. 遇到IIS configuration error错误的可以看看,不一定是权限问题

    最近接手了别人的一个 DOT NET项目,编译.调试一切都OK(心里暗暗高兴),发布吧,结果放到服务器上一运行出现Configuration Error错误,提示:"Access to th ...

最新文章

  1. 某米浏览器黑名单文件破解
  2. Linux下安装、配置PHP环境
  3. PHP函数处理方法总结
  4. python百度云资源-Python开发视频百度云分享
  5. linux虚拟网络设备之tun/tap驱动程序设计原理(五)
  6. MyBatis映射文件(二)
  7. Google GSON入门
  8. 剑指Offer - 面试题3. 数组中重复的数字(哈希)
  9. catia如何测量毛料尺寸_我有“一帘幽梦”之如何测量窗帘尺寸及窗帘的挂法
  10. 软件_手把手教vscode配置c++,python开发环境
  11. core 实例化接口_实例讲解Springboot整合MongoDB进行CRUD操作的两种方式
  12. 和谐: OρenVΡN的UDP握手协议
  13. java云购_ycyg: 源创元购,一元云购java springmvc版本 云购商城 开源一元云购 开源java商城...
  14. java爬虫(爬取豆瓣电影排行榜)
  15. (已解决)windows和linux系统中使用 pycharm 时设置打印字体颜色和背景色
  16. redis 持久化和恢复
  17. 网络连接感叹号上不了网怎么办
  18. java生成word排版_java生成word(文字和图片)
  19. ArchSummit深圳2016优秀演讲公布,北京站专题抢先看
  20. 狗狗叫c语言,原来狗狗“呜呜叫”有这些含义,主人:我总算看透它了

热门文章

  1. Fastjson首字母大小写问题
  2. Unity当GameObject.Find(““)获取不到对象报错时
  3. javascript遍历set
  4. 【Bug修复】关于Xshell进行rpm安装时提示rpm: Header V4 DSA/SHA1 Signature, key ID cc4bbe5b: NOKEY
  5. Spring SpEL 的使用
  6. 【移动端】竖向滑屏效果
  7. 计算机知识问答网站,在线答题公开题库 计算机知识 题库.doc
  8. Rancher主机介绍
  9. 【深度学习001】深度学习工作站组装—硬件篇—预算2万(20190401)
  10. 卧虎藏龙的科学岛-CV真香定律