Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

JBoss EAP で console.log をローテートする

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.