title: Create a hyperlink to a project file in console output
body: <p>Is there a way for me to write out a link to the console output that when clicked on directs to a project file in Intellij? </p>
  
  <p>For example, this happens when a run-time exception occurs. I see the stack trace and I can click on a link in the console that directs me to where the problem was. Here I can click on DatabaseConfiguration.java and I will be redirected to that file in Intellij.
  <img src="https://i.stack.imgur.com/j7Bw3.png" alt="enter image description here"></p>
  
  <p>What I want to do is output a link to a readme.txt file that is written to the console when main starts up. When clicked on it opens up readme.txt in Intellij. </p>
  
  <p>I am also using log4j and directing output to the console, which may affect the solution. Here is my conversion pattern:</p>
  
  <pre><code>log4j.appender.FILE.layout.conversionPattern=%d{HH:mm:ss,SSS} %-5p [%c] %m%n
  </code></pre>