A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Other Open Source Projects
how to make log4j print out class name and line number
Tien Duong Nguyen
Joined: Oct 22, 2004
Sep 20, 2005 22:14:00
I am looking for the way to print out the class name and line number in logging message.
E.g : logger.info ("message "); -> ClassName ( line number ) : message.
Can we do it with log4j
SCEA (part 1), part 2,3 in progress<br /> <br />SCBCD,SCWCD,SCJP
Joined: Mar 22, 2005
Sep 21, 2005 01:18:00
That's possible. The
have all the details.
Ping & DNS, my free Android app for network diagnostics
I agree. Here's the link:
subject: how to make log4j print out class name and line number
Runtime method names
Using log4j with iPlanet
dinamic variables value in log4j
Determine from which main class the call came from to a method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014