triplequote/intellij-scala

Set hydra.log location

dotta opened this issue · 0 comments

dotta commented

In idea the hydra.log should be located under the <project-root>/.hydra/idea/ folder. To set the hydra.log location just call System.setProperty("hydra.logFile", "<project-root>/.hydra/idea/hydra.log") when the HydraPlugin is started.

Also, make sure that if the remote server is used for compiling the Scala code, then the system property is passed to the JVM used by the remote server (this should boil down to pass -Dhydra.logFile="<project-root>/.hydra/idea/hydra.log" to the JVM).