groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raviteja Lokineni <raviteja.lokin...@gmail.com>
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>

Thanks,
-- 
*Raviteja Lokineni* | Business Intelligence Developer
TD Ameritrade

E: raviteja.lokineni@gmail.com

[image: View Raviteja Lokineni's profile on LinkedIn]
<http://in.linkedin.com/in/ravitejalokineni>

Mime
View raw message