How to view the Eclipse error log


To view Error Log of Eclipse follow the below steps,

  1. Go to: Window > Show View > Others...,
  2. Now in "type text filer" searh for "Error Log",
  3. Click on Open and you should see the error log tab.
Error Log
Error Log

Under the Error log tab you should be able to see filters such as:

  • Message: Displays the short description of the error/warning/info
  • Plugin-in: Name of the plugin that the message is displayed for,
  • Date: Date and Time on which the error was displayed.

The logs can be sorted based on Message, Plug-in ID, or Date in either ascending or descending order by clicking on the column headers.

The logs can also be grouped based on Session or Plugin ID.

Log Filter Eclipse
Log Filter Eclipse

You can make use of the log filters option to display only specific event types: OK, Information, Warning, or Error. The number of visible events can also be changed - the default is 50. The maximum size of logs is 1 MB by default - this can be changed here as well.

Error Events can further be filtered based on "All events" or "Most recent events". One can also add filters to hide stack trace elements by adding them using the Add button.

See more details Eclipse Error Log Event

When you double click on any event message - you would see a pop-up that displays more details for the error log as below.

Eclipse Error Log Event Details
Eclipse Error Log Event Details
  • Plugin: Name of the eclipse plugin
  • Severity: Event Severity - Info/Warning/Error
  • Date: Date and Time of the Event.
  • Message: Detailed summary fo the event.
  • Exception Stack Trace: Displayed if there is (Java) stack trace related to the event.
  • Session Data: data related to the session.

    Example:
    eclipse.buildId=4.19.0.I20210303-1800
    java.version=15.0.2
    java.vendor=Oracle Corporation
    BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
    Framework arguments:  -product org.eclipse.epp.package.java.product -keyring /Users/code2care/.eclipse_keyring
    Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring /Users/code2care/.eclipse_keyring
    

How to export Eclipse Error Log?

Error log can be exported by right-clicking on an event and selecting the option Export Log... by default the log will be saved with a .log extension.

How to copy the Eclipse Error Log?

Error log can be copied by simply right-clicking on the event message and selecting the option Copy. The log details will be copied to the clipboard.



Have Questions? Post them here!



Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.