Locating IDE log files

The easiest way to find the product log file is the Help menu, the item name would depend on the IDE version and OS:

  • Show Log in Explorer
  • Show Log in Finder
  • Show Log in Konqueror/Nautilus
  • Reveal Log in Explorer
  • Reveal Log in Finder/Finder/Nautilus
 
Log file is named idea.log and is rotated basing on the file size. When attaching logs to your problem report it's recommended to zip and send several latest log files (idea.log, idea.log.1, idea.log.2, idea.log.3).
 

Can't access Help menu, how do I find the log file manually?

When IDE doesn't start or you can't access Help menu, locate the log file manually:
 

IntelliJ IDEA External Build logs

When using external make IDE starts a separate process for compilation, this process writes logs into the %idea.log.path%\build-log\build.log file. Attach this file as well if you are reporting problems related to compilation and external build is enabled.

For the more verbose logging edit build-log.xml file (located in the same directory), change <priority value="info" /> to <priority value="debug" />.

Since IDEA 14.1 compiler logging is configured via build-log.properties file instead of the .xml file, change log4j.rootLogger=info, file to log4j.rootLogger=debug, file .

It's recommended that you delete the existing log files, start the IDE, reproduce the problem, then attach all the produced log files.

12 comments

I have searched my entire system and there is no file called idea.log that I can find. I am using Mac OS Mavericks. I confirmed in /Applications/IntelliJ IDEA 11.app/bin/log.xml that the file should be called idea.log. The param reads: <param name="file" value="$LOG\_DIR$/idea.log"/> But I cannot find out what $LOG_DIR should be.

0

Barclay Dunn, look under /Users/<user>/Library/Logs/IntelliJIdea11.

0

They are ALL under /Users/<user>/Library!

0

How do I configure IntelliJ to log DEBUG level information to idea.log? (I am developing a plugin and want to see debug info in the log file).

 

Thanks!

0

IDE is using log4j framework for logging, you can fine tune it in bin/log.xml file. It's recommended to add your own logging categories with debug level.

<category name="#org.your.plugin.package">

<priority value="DEBUG"/>

</category>

In the plugin code initialize logger like this:

private static final Logger LOG = Logger.getInstance("#org.your.plugin.package.SomeClass");

This way all the classes under the specified package will produce debug logs.

If you have any other questions specific to plugin development, please use the corresponding forum.

0

Just an additional note: build.log configuration is located in

~/Library/Logs/IntelliJIdea13/build-log/build-log.xml

0

Serge, thanks for the answer - that was just what I was looking for.

0

Can the log level be increased for the updater too? I have severe issues with the updater (support request #23223 and IDEA-121473) and have no clue how to get more details about what goes wrong with IDEA.

0

Anyone who got a error mesage like "sun/security/internal/spec/TlsMasterSecretParameterSpec", check your JDK version in System preference panel. 

I was trying to licensing webstrom via strudent license. But when I type my Id/pw in license window, the above error message pops up. I send error report to the jetbrains support team, and this guy reply me.

I'm using mag OsX 10.8.5 (mountain lion) and my previous JDK version is 1.7.

Refer to https://intellij-support.jetbrains.com/entries/27854363  , IDE (including webstorm) require JDK 1.6 version. It also said JDK 1.7 and 1.8 would make some problem.

Hope this comment useful to someone in trouble like me.

Bye~

 

0

Where can I update/see the CompilerInterface output/log details/etc? The build.log file barely has any details other than "Compilation Failed": https://db.tt/DyET02AS

0

this is my tools -> RUN manage.py Task  bug

Edited by salvatore monaco
0

Please sign in to leave a comment.

Have more questions?

Submit a request