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.
log4jを使用してdrlファイルからロギングを行っています。drl ファイルのルールごとに logger の個別のインスタンスを作成します。drl ファイルで定義されたすべてのルールで使用できるロガーの単一インスタンスを作成する方法はありますか。
*.drl でグローバルを作成することにより:
global Logger logger;
*.java で実行:
kSession.setGlobal("logger", myLogger);