Where does IDEA write its log file?

Q: Where does IDEA write its log file?

A: On Mac OS X IDEA will write its log file to

~/Library/Caches/IntelliJIDEAnn/log/idea.log
(where nn=version number) by default. This value is configured however in:
/Applications/IntelliJ IDEA X.Y.Z.app/Contents/Info.plist

 

On Windows, IDEA will write its log file to:
~\.IntelliJIdea\system\log\idea.log

(where ~ stands for user's home directory, e.g. c:\Users\Alice). This value can be configured in

<IDEA_installation_dir>\bin\idea.properties

(it's a file common for both 32-bit and 64-bit executables).