开发者

logback and symbolic links

开发者 https://www.devze.com 2022-12-30 00:27 出处:网络
How can you configure appenders symbolic links in logback? I use logback\'s suppor开发者_开发问答t for uniquely named files (described here) to get separate logs for each run.I would also like to hav

How can you configure appenders symbolic links in logback?

I use logback's suppor开发者_开发问答t for uniquely named files (described here) to get separate logs for each run. I would also like to have a symbolic link (e.g. log.current) to point to the latest logger file.

Does logback support symbolic link manipulation? Is there a better way to approach this problem?


No, it doesn't. You can ask Ceki to implement it, or subclass the given appender yourself and add what you need.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号