Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can IntelliJ create hyperlinks to the source code from log4j output?

In the IntelliJ console, stack traces automatically contain hyperlinks that bring you to the relevant source files. The links appear at the end of each line in the format (Log4jLoggerTest.java:25). I can configure log4j to output text in a similar format.

log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} (%F:%L) - %m%n

In eclipse, the console automatically turned text like this into links. In IntelliJ, the stack traces are links but my own output in the same form remains un-linked. Is there any way to get IntelliJ to do the same?

like image 728
Craig P. Motlin Avatar asked Jan 19 '09 19:01

Craig P. Motlin


1 Answers

There is a plugin for IntelliJ IDEA to get clickable links in your console called Awesome Console.

like image 156
Tim Avatar answered Nov 07 '22 05:11

Tim