wangcx
栖迟於一丘,则天下不易其乐
12,060
首页
分类
随笔与杂谈
进击的码农
有趣的分享
归档
留言
关于
登录
LogBack 日志路径配置问题
wangcx
1年前
进击的码农
LogBack日志文件相对保存路径设置可分以下三种:
value="logs"
表示保存到程序运行目录,在tomcat中为bin目录
value="/logs"
表示保存到系统目录,比如你的项目运行在D盘,这个就在D盘的根目录下。
value="../logs"
表示保存到程序运行目录的父目录,在tomcat中为tomcat下的logs的目录(最好配置时,加上自己应用名称,以做区分)
Logback
path
0
280
分享:
0
条评论
编辑评论信息
插入图片
链接
取消
隐私评论
提交
随机一言
:D 获取中...
最新评论
I've mentioned some sites below that are accepting guest posts,I would appreciate it if you would see them out and then, after you have done so, let me know which of these sites you would like to post on. If you are interested in any of these sites. bloombergnewstoday.com washingtontimesnewstoday.com topworldnewstoday.com chroniclenewstoday.com cnnworldtoday.com forbesnewstoday.com
Cool + for the post
随机文章
MySQL 中 SUM() 函数的使用
703 浏览 - 2022/04/16
Java8 使用 lambda 遍历 List、Set、Map
289 浏览 - 2022/09/27
一行代码,把任意网站变成暗黑模式
399 浏览 - 2022/04/27
@Query 注解中使用 limit 条件的解决办法
223 浏览 - 2022/04/14
Docker 安装中文 Portainer
110 浏览 - 2023/07/15