Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
除了那个帖子,我在网上找不到任何可以很好地回答这个问题的东西。
有什么方法可以使用 QuickFIX/J 旋转日志文件?我正在使用 Log4j 来轮换我的日志文件,但我无法轮换 QuickFIX 消息。
非常感谢
我刚试过:
cd <fix log directory> for i in *; do echo -n | sudo tee $i; done
这将日志截断 0 字节。修复操作继续正常,日志再次从头开始填充。因此,支持截断(和带截断的旋转)。(快速修复/j 1.6.1)