Skip to content

Comments

Logback 設定(logback.xml)の読み込みがスキップされないようにする#78

Merged
negokaz merged 1 commit intomainfrom
fix-skipping-logback-setting-load
Jan 21, 2022
Merged

Logback 設定(logback.xml)の読み込みがスキップされないようにする#78
negokaz merged 1 commit intomainfrom
fix-skipping-logback-setting-load

Conversation

@xirc
Copy link
Contributor

@xirc xirc commented Jan 20, 2022

Closes #77

動作確認方法

  1. sbt +publishLocal で ロカールに SNAPSHOT 版をリリースします。
    バージョン番号は3.0.0+1-34374869-SNAPSHOTになります。
  2. lerna-util-sequence を依存関係に含み、Logback でログ出力しているプロジェクトを開きます
    lerna-stack/lerna-sample-account-app が利用できます
  3. lerna-util-sequence のバージョン番号を 3.0.0+1-34374869-SNAPSHOT に書き換えます。
    スナップショットを利用するには ThisBuild / resolvers += Resolver.sonatypeRepo("snapshots")build.sbt に追加する必要があります。
  4. logback.xml<pattern>...</pattern> を変更しプログラムを実行します。
    ログ出力のフォーマットがこの変更に応じて変わることを確認できます。

@xirc xirc marked this pull request as ready for review January 20, 2022 05:28
@xirc xirc added this to the v3.0.1 milestone Jan 20, 2022
@xirc xirc requested a review from negokaz January 20, 2022 05:28
Copy link
Contributor

@negokaz negokaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@negokaz negokaz merged commit f1432af into main Jan 21, 2022
@negokaz negokaz deleted the fix-skipping-logback-setting-load branch January 21, 2022 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lerna-util-sequence を依存ライブラリに加えるとユーザの logback 設定が読み込まれない

2 participants