Legacy Knowledge Base
Published Jun. 30, 2025

How to turn on Debug logging for Patching tool?

Written By

Gergely Szalay

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

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

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • When we have any kind of issues while using Patching Tool, we can't analyze the problem because we see the same information in the log and in the console too:
The command has failed. Please see the log for details.
  • Can we extract more details from the log?

Environment

  • Liferay DXP 7.3+
  • Patching Tool 3.0.29+

Resolution

  • More information in the log is provided by Patching Tool's debug mode, which has been disabled by default in Patching Tool 3.0.29 and above to reduce the log size. 
  • Patching tool version 3.0.29 and above
    • To enable the debug logging, you have to create a patching-tool-default.properties file next to your default.properties file and add the following line: enable.debug.logging=true.
  • Patching tool version less than 3.0.29
    • debug logging by default is enabled.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base