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 内で解決策が見つかるとは思いません。
次のいずれかを実行できます。
私の好みは、シェルスクリプトです。これは、作成、呼び出しが非常に簡単で、必要に応じて、ログをクリアせずにアンデプロイできるためです...