logback and symbolic links
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.
精彩评论