問題タブ [janino]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
logback - logback 構成の条件付きアペンダー ref
logback xml に次の構成を使用しています。
そして、Loki アペンダーを定義した後、既存のロガーで条件付きで使用したいと考えています。
現時点での問題は、if 条件が false の場合 (LOKI_SERVICE_URL が定義されていない場合)、EXISTING-APPENDER がファイル システムにファイルを出力しないことです。
私のログバック設定が間違っている可能性があり、次のようになります。
この問題の原因を知っている人はいますか? ありがとう!