JBoss EAP で console.log をローテートする
Issue
console.logファイルに PeriodicRotatingFileHandler を使用するにはどうしたら良いですか?- 以下を実行して取得したコンソールのログをローテートするにはどうしたら良いですか?
./run.sh > console.log 2>&1
- コンソールログが
ConsoleAppenderによって生成されたため、RollingFileAppenderが提供しているログローテート機能が利用できません。
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
- 6.x
- Red Hat JBoss Enterprise SOA Platform (SOA-P)
- 4.x
- 5.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
