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).
 
You can also use the Collect Logs and Diagnostic Data  (Compress Logs and Show in ... before 2020.1) action to generate the .zip file with all the log files (including the build logs and the automatic thread dumps).
 

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

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.

For the more verbose logging edit build-log.properties 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 new log files.

26 comments
Comment actions Permalink

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.

2
Comment actions Permalink

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

2
Comment actions Permalink

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

0
Comment actions Permalink

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!

1
Comment actions Permalink

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
Comment actions Permalink

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

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

2
Comment actions Permalink

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

0
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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

1
Comment actions Permalink

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

Edited by salvatore monaco
0
Comment actions Permalink


Auto-completion for OpenCV (cv2) module is not working. However, it is working for tensorflow. I am not getting why. 

0
Comment actions Permalink

Isn't there a way to view logs generate by my Scala code within InteliiJ IDEA?

See this question for more details

1
Comment actions Permalink

Starting file watcher: C:\Program Files\JetBrains\GoLand 2020.1\bin\fsnotifier64.exe

logs?

0
Comment actions Permalink

I have found that options used in configurations of settings has issues and after removal of Compiler options for Functional test has resolved the issue

0
Comment actions Permalink

I have no idea wtf is wrong with you people.

CLion is eating more than 3 Gb of RAM and it's slower than my grandmother!

Opening projects is freaking slow as well as indexing the files

I already uploaded two memory snapshots but no one gives a fuck!!!

 

Edited by Hedaribo09
0
Comment actions Permalink

Upgrading to IntelliJ Ultimate 2021.1 caused:

0
Comment actions Permalink

Try reinstalling from https://www.jetbrains.com/idea/download/index.html. Installation appears to be corrupted.

0
Comment actions Permalink

Cucumber for Java plugin is not downloading. What is the reason? This is a blocker. 

0
Comment actions Permalink

In the article, it says "For the more verbose logging edit build-log.properties file,".

Where is build-log.properties localed?

0
Comment actions Permalink

20102076 The file name has changed recently, please look under the System directory: https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#system-directory, log\build-log subdirectory: build-log-jul.properties.

0
Comment actions Permalink

there is no build-log or build-log-jul.properties.

Also, there is no bin/log.xml to enable DEBUG level log.

 

0
Comment actions Permalink

This directory appears if you are using IntelliJ IDEA to build a Java project.

0

Please sign in to leave a comment.

Have more questions?

Submit a request