Skip to main content
Jump to: navigation, search

Difference between revisions of "FAQ Where can I find that elusive .log file?"

m (removed leftover html formatting)
m (Minor edit to add the configuration folder as a possible location for the log file)
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
*'''Help &gt; About Eclipse Platform &gt; Configuration Details'''.  This prints out a great number of details about the environment and also  concatenates the <tt>.log</tt> file. Great for including in a bug report.
 
*'''Help &gt; About Eclipse Platform &gt; Configuration Details'''.  This prints out a great number of details about the environment and also  concatenates the <tt>.log</tt> file. Great for including in a bug report.
  
*Locate the file yourself, see <tt>workspace/.metadata/.log</tt>.
+
*Locate the file yourself, see <tt>workspace/.metadata/.log</tt> or <tt>eclipse/configuration/*.log</tt>
  
 
*Start Eclipse using <tt>-consoleLog</tt>. This will print the messages that normally go to the <tt>.log</tt> file in the enclosing shell/command window.
 
*Start Eclipse using <tt>-consoleLog</tt>. This will print the messages that normally go to the <tt>.log</tt> file in the enclosing shell/command window.
 +
 +
When the Java VM suffers a hard crash, it produces a separate logging file named something like <tt>hs_err_pid<em>XXXXX</em>.log</tt>.  These files are also helpful for diagnosing problems.
  
 
== See Also: ==
 
== See Also: ==

Latest revision as of 09:47, 31 March 2016

Whenever it encounters a problem that does not warrant launching a dialog, Eclipse saves a report in the workspace log file. The log file can be looked at in four alternative ways.

  • Window > Show View > PDE Runtime > Error Log. This gives you a view with the contents of the .log file.
  • Help > About Eclipse Platform > Configuration Details. This prints out a great number of details about the environment and also concatenates the .log file. Great for including in a bug report.
  • Locate the file yourself, see workspace/.metadata/.log or eclipse/configuration/*.log
  • Start Eclipse using -consoleLog. This will print the messages that normally go to the .log file in the enclosing shell/command window.

When the Java VM suffers a hard crash, it produces a separate logging file named something like hs_err_pidXXXXX.log. These files are also helpful for diagnosing problems.

See Also:


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.

Back to the top