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.
当我在 Tomcat 中取消部署应用程序时,我需要清除所有日志。我不想每次都手动清除日志。
我怎样才能做到这一点?
我认为您不会在 Tomcat 中找到任何解决方案。
您可以:
我的首选是 shell 脚本,因为它真的很容易编写、调用,而且,如果你需要它,你可以在不清除日志的情况下取消部署......