groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raviteja Lokineni <>
Subject Reporting groovy line number in log4j2
Date Mon, 22 Aug 2016 20:00:17 GMT
Hi all,

Log4j ouputs groovy class line number to be -1. Any known fix/workaround
for this issue? I looked around a bit but found nothing. FYI, Grails team
doesn't seem to have this issue.

Log4j patern: %d{yyyy-MM-dd HH:mm:ss.SSS(XXX)} [%t] %p %c:%L - %m%n

Sample output I get:
<time> [<thread>] <LEVEL> <class>:*-1* - <message>

*Raviteja Lokineni* | Business Intelligence Developer
TD Ameritrade


[image: View Raviteja Lokineni's profile on LinkedIn]

View raw message