コミュニティアチーブメントバーを展開する。

williamm3434422
williamm3434422
オフライン
タイプ
  • すべて
  • 質問
  • ディスカッション
  • アイデア
  • ブログ
ユーザー投稿による絞り込み
  • The question has been answered in full. And the answer is now clear.

    タイプ

    ディスカッション

    表示

    2.7K

    いいね!

    0

    返信

    0
  • You can also accomplish the same through an aem service that loads a file or string and converts it to an input stream. You would have to test, but I believe the reset event may retrigger this source too, not sure. A deployment of your source doesn't retrigger this service but rather when AEM boots ...

    タイプ

    ディスカッション

    表示

    2.7K

    いいね!

    0

    返信

    0
  • I found out how to use logback.xml while retaining factory configs and aem default log behavior. I pulled this from global file log manager config in apache.sling.commons.log source. After some experimenting, I realized you need to use the include node which will just add to the existing global conf...

    タイプ

    ディスカッション

    表示

    2.7K

    いいね!

    0

    返信

    1
  • I have no idea how to create another global sling config or set the above properties in it directly via a config file unless I modify the org.sling.apache.commons.log source code directly. I believe this is only a config that can manually be set through the user interface. I think you can only overr...

    タイプ

    ディスカッション

    表示

    2.9K

    いいね!

    0

    返信

    0
  • I will try tomorrow with a log Manager.xml config. I think it will just create another root global sling logging configuration or update the existing. So everything I stated already may still very well apply. Just a different approach potentially. Not sure what kind of binding control it offers. Loo...

    タイプ

    ディスカッション

    表示

    3.0K

    いいね!

    0

    返信

    1
  • I just jumped to level 100 in AEM forums on my first post despite being a lowly level one. Booyah!Caused by: java.lang.ClassNotFoundException: io.sentry.logback.SentryAppender not found by org.apache.sling.commons.log [15]io.sentry.logback*  and io.sentry* must be locally exported libraries within t...

    タイプ

    ディスカッション

    表示

    3.0K

    いいね!

    0

    返信

    2
  • I managed to get logback.xml working with Sentry but it was an extremely customized solution. I had to download the org.apache.sling.commons.logsource code (https://github.com/apache/sling-org-apache-sling-commons-log). Add sentry packages to the code. Ensure those packages were exported. Compile th...

    タイプ

    ディスカッション

    表示

    3.0K

    いいね!

    0

    返信

    3
  • My understanding is that you can't override org.apache.sling.commons.log.configurationFile property for a custom factory, but I may be mistaken. At least it says so here. https://sling.apache.org/documentation/development/logging.htmlI tried and the field wouldn't render in my system console... (htt...

    タイプ

    ディスカッション

    表示

    3.0K

    いいね!

    0

    返信

    4
williamm3434422 が獲得した上位のバッジ
プロファイルに表示するバッジをカスタマイズ