legacy-knowledge-base
公開されました Jun. 30, 2025

パッチ適用ツールのデバッグ ログを有効にする方法は?

written-by

Gergely Szalay

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • パッチ ツールの使用中に何らかの問題が発生した場合、ログとコンソールにも同じ情報が表示されるため、問題を分析できません。
The command has failed. Please see the log for details.
  • ログから詳細を抽出できますか?

Environment

  • Liferay DXP 7.3+
  • パッチ適用ツール 3.0.29+

解決策

  • ログの詳細情報は、Patching Tool のデバッグ モードによって提供されます。これは、Patching Tool 3.0.29 以降ではデフォルトで無効になっており、ログ サイズが に縮小されています。
  • パッチ ツール バージョン 3.0.29 以降:
    • デバッグ ログを有効にするには、 default.properties ファイルの隣に patching-tool-default.properties ファイルを作成し、次の行を追加する必要があります: enable.debug.logging=true .
  • パッチ ツール バージョン 3.0.29 未満:
    • デバッグ ログは、デフォルトで が有効になっています。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base