How to increase the logging level in the lastGenerated.log file

Problem Description

In some cases, a Job generation or build fails, and the following error is seen in the lastGenerated.log file:

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

 

Solution

 

From Talend Studio

  1. Navigate to Window > Preferences.

    studio_window_preferences.png

     

  2. Open Maven and select the Debug Output option.

    maven_debug_output.png

     

 

From Talend CommandLine

  1. Stop the CommandLine.

  2. Edit the Commandline_Workspace_Folder\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.m2e.core.prefs file, and add the following:
    eclipse.m2.debugOutput=true
  3. Save the file.

  4. Restart the CommandLine.

Version history
Revision #:
6 of 6
Last update:
‎04-14-2019 02:23 AM
Updated by: