JBoss EAP 7 でのサードパーティーロギングフレームワークとしての log4j2 の使用
Issue
-
以下は、サードパーティーのロギングフレームワークとしての設定です。
-
ログに以下が表示されます。
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.
または、以下が表示されます。
"ERROR [stderr] ... ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console..."
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7
- Apache Log4J 2 アプリケーションロギング
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.